Skip to content

Commit

Permalink
Lint the tests with flake8-pytest-style
Browse files Browse the repository at this point in the history
This is a bit less strict overall than pylint, but enforces pytest idioms
  • Loading branch information
ajjackson committed May 28, 2024
1 parent fcb16fc commit 18fe07f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install pytest flake8 flake8-pytest-style
pip install .
- name: Lint the test files with flake8-pytest-style
run: |
flake8 tests/
- name: Test with pytest
run: |
pytest

0 comments on commit 18fe07f

Please sign in to comment.