Skip to content

Commit

Permalink
add flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Sep 28, 2024
1 parent 9b8aca0 commit 6b544bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[flake8]
max-complexity = 12
max-line-length = 120
exclude =
.*/
__pycache__
docs
~build
dist
*.md

per-file-ignores =
src/**/migrations/*.py:E501
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
!.editorconfig
!.pre-commit-config.yaml
!.readthedocs.yaml
!.flake8
coverage.xml
notes.txt
build/
Expand Down

0 comments on commit 6b544bc

Please sign in to comment.