Skip to content

Commit

Permalink
TST: constrained flake8 to the composites folder
Browse files Browse the repository at this point in the history
  • Loading branch information
saullocastro committed Mar 11, 2024
1 parent f2c9cfe commit ebf0ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest_and_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
run: |
python3 -m pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 ./composites --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 ./composites --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest and coverage report
if: env.USE_COVERAGE == 'true'
run: |
Expand Down

0 comments on commit ebf0ca3

Please sign in to comment.