-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
50 lines (48 loc) · 1.29 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
40
41
42
43
44
45
46
47
48
49
50
[flake8]
ignore =
# Allow more readable nesting structure
E131,
# Allow to write operator after line break
W503,
E722, # Allow bare excepts
E731, # Allow lambda
# In some cases, as determined by PEP 8, Black will enforce an equal amount of whitespace around slice operators.
# Due to this, Flake8 will raise E203 whitespace before ':' warnings.
# Since this warning is not PEP 8 compliant, Flake8 should be configured to ignore it via extend-ignore = E203.
# Cf: https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#id1
#
# E501- Black is responsible do deal with line length, so we disable this check for Flake8.
extend-ignore = E203, E501
exclude =
.git,
.pytest_cache,
.vscode,
__pycache__,
conftest.py,
crons,
db_scripts,
docs,
fixtures,
manage.py,
migrations,
nginx,
requirements,
scripts,
settings,
setup.py,
static,
templates,
tools,
zero_gachis/apps/guide,
zero_gachis/apps/rayons,
zero_gachis/apps/reports,
zero_gachis/apps/stats,
zero_gachis/apps/survey,
zero_gachis/apps/tests,
zero_gachis/apps/utilisateurs,
zero_gachis/fixtures,
zero_gachis/libs,
zero_gachis/locale,
zero_gachis/search,
zero_gachis/settings,
zero_gachis/templates,