Skip to content

Fix export of newly-uploaded images #1186

Fix export of newly-uploaded images

Fix export of newly-uploaded images #1186

Workflow file for this run

name: Lints
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: flake8
run: |
pip install `egrep -o 'flake8==\S+' web/requirements.txt` # install our version of flake8
flake8 web/ --config web/setup.cfg
flake8 docker/pandoc-lambda/function/ --config web/setup.cfg
- name: black
run: |
pip install `egrep -o 'black==\S+' web/requirements.txt` # install our version of black
black --check --diff . # Uses pyproject.toml
- name: mypy
run: |
cd web
pip install -r requirements.txt # install a full environment for mypy
PYTHONPATH=. mypy