From b8a2f5f6d5371186aae39f2fa7372ef3112b45cf Mon Sep 17 00:00:00 2001 From: jgwerner Date: Tue, 30 Nov 2021 01:25:39 +0000 Subject: [PATCH] update flake8 Signed-off-by: jgwerner --- .flake8 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.flake8 b/.flake8 index c0ad98bd..14ef03cf 100644 --- a/.flake8 +++ b/.flake8 @@ -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/ @@ -28,7 +28,6 @@ exclude = .github, .ipynb_checkpoints, .pytest_cache, - .travis, .vscode, docs, node_modules,