Run flake8 in CI, refs #291

This commit is contained in:
Simon Willison 2021-06-22 18:23:12 -07:00
commit 02898bf7af
2 changed files with 4 additions and 1 deletions

View file

@ -25,7 +25,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test,mypy]'
pip install -e '.[test,mypy,flake8]'
- name: Optionally install numpy
if: matrix.numpy == 1
run: pip install numpy
@ -34,5 +34,7 @@ jobs:
pytest
- name: run mypy
run: mypy sqlite_utils
- name: run flake8
run: flake8
- name: Check formatting
run: black . --check

View file

@ -28,6 +28,7 @@ setup(
"test": ["pytest", "black", "hypothesis"],
"docs": ["sphinx_rtd_theme", "sphinx-autobuild"],
"mypy": ["mypy", "types-click", "types-tabulate"],
"flake8": ["flake8"],
},
entry_points="""
[console_scripts]