generated from IllumiDesk/docker-stacks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
39 lines (38 loc) · 1.24 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[flake8]
# Explicitly ignore rules to maintain better compatibility with black.
#
# F403: import *
# F811: redefinition of unused `name` from line `N`
# F821: undefined name
# 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 ','
# E501: line lengths are recommended to be no greater than 79 characters.
# E503: there is no need for backslashes between brackets.
# E731: do not assign a lambda expression, use a def
# W293: line break before binary operator
# W293: blank line contains whitespace
select = E,F,W,C
ignore = F403, F811, F821, F841, E231, E402, I100, I101, D400, E501, E501, E503, E731, W293, W503
extend-ignore = E203
max-complexity = 15
# https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/
max-line-length = 119
builtins = c, get_config
exclude =
.ansible,
.cache,
__pycache__,
.github,
.ipynb_checkpoints,
.pytest_cache,
.travis,
.vscode,
ansible,
docs,
node_modules,
venv