Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Updates flake8 #641

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
# F403: import *
# F811: redefinition of unused `name` from line `N`
# F841: local variable assigned but never used
# E402: module level import not at top of file
# I100: your import statements are in the wrong order.
# I101: the names in your from import are in the wrong order.
# D400: first line should end with a period.
# E203: colons should not have any space before them.
# E231: missing whitespace after ','
# E402: module level import not at top of file
# E501: line lengths are recommended to be no greater than 79 characters.
# E503: there is no need for backslashes between brackets.
# I100: your import statements are in the wrong order.
# I101: the names in your from import are in the wrong order.
# D400: first line should end with a period.
# W293: line break before binary operator
# W293: blank line contains whitespace
# W503: blank line contains whitespace
max-line-length = 119
select = B,C,E,F,W,T4,B9
ignore = F403, F811, F841, E402, I100, I101, D400, E501, E503, W293, W503
ignore = F403, F811, F841, E231, E402, E501, E503, I100, I101, D400, W293, W503
extend-ignore = E203
max-complexity = 18
# https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/
Expand All @@ -28,7 +28,6 @@ exclude =
.github,
.ipynb_checkpoints,
.pytest_cache,
.travis,
.vscode,
docs,
node_modules,
Expand Down