Skip to content

Commit

Permalink
edit flake8 config
Browse files Browse the repository at this point in the history
- increase line length a bit (but now in .flake8 as opposed to
pre-commit config)
- disable E125 as it conflicts with black rules for type hints

Fixes #66
  • Loading branch information
KrisThielemans committed Nov 9, 2024
1 parent d4ded42 commit fffdd66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
extend-ignore = E125
max-line-length = 90
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
rev: 7.1.1
hooks:
- id: flake8
args: [-j8, --max-line-length=90]
args: [-j8]
additional_dependencies:
- flake8-broken-line
- flake8-bugbear
Expand Down

0 comments on commit fffdd66

Please sign in to comment.