-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.flake8
45 lines (33 loc) · 880 Bytes
/
.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
[flake8]
max-line-length = 120
extend-ignore =
# No explicit stacklevel argument found
B028,
# Coding magic comment
C101,
# Missing docstring in public module
D100,
# Missing docstring in public package
D104,
# No blank lines allowed after function docstring
D202,
# No whitespaces allowed surrounding docstring text
D210,
# First line should be in imperative mood
D401,
# unnecessary variable assignment before return statement
R504,
# unnecessary else after return statement
R505,
per-file-ignores =
sample_code.py: D100, D101, D102, D103, D104
sample_code_non_analog.py: D100, D101, D102, D103, D104
sample_code_with_logs.py: D100, D101, D102, D103, D104
exclude =
./.git,
./venv,
./_data,
./dist,
./unit_tests,
max-complexity = 10
optional-ascii-coding = True