mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Run flake8 in CI, refs #291
This commit is contained in:
parent
90e211e3e2
commit
02898bf7af
2 changed files with 4 additions and 1 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
setup.py
1
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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue