Skip to content

Commit

Permalink
Another attempt to exclude dirs from flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoOpenCosmos committed Jan 27, 2025
1 parent b3326a0 commit 5da1516
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: install dependencies
run: pip install .[test]
- name: cognitive
run: flake8 . --max-cognitive-complexity=5 --exclude=tests/*,build/*
run: flake8 . --max-cognitive-complexity=5

isort:
name: isort
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ find = {}

[tool.pydocstyle]
convention = "google"

[tool.flake8]
exclude = ["build/*"]

0 comments on commit 5da1516

Please sign in to comment.