Skip to content

Commit

Permalink
Add flake8 to pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
fmhoeger committed Jan 13, 2024
1 parent 842fefd commit 38c6480
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions tests/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
ignore = E266, E501, W503
max-line-length = 88
9 changes: 5 additions & 4 deletions tests/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ repos:
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
# - repo: https://github.com/PyCQA/flake8
# rev: 6.1.0
# hooks:
# - id: flake8
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
args: [--config, tests/.flake8]

0 comments on commit 38c6480

Please sign in to comment.