diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e19e61..5dc3fe1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/setup.py b/setup.py index a356f30..f5421ec 100644 --- a/setup.py +++ b/setup.py @@ -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]