Skip to content

Commit

Permalink
Remove flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Sep 2, 2024
1 parent 8b25a9d commit 37aa23c
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 129 deletions.
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ updates:
dev-dependencies:
patterns:
- "pytest*"
- "flake8*"
- "hypothesis"
- "ruff"

Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ jobs:
- name: Install library and dependencies
run: poetry install --no-interaction

- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Lint with ruff
run: poetry run ruff check . --statistics

- name: Test with pytest
run: |
Expand Down
Loading

0 comments on commit 37aa23c

Please sign in to comment.