forked from fedbiomed/fedbiomed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
51 lines (36 loc) · 902 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
46
47
48
49
50
51
[flake8]
#select = B,C,E,F,N,P,T4,W,B9
max_line_length = 120
max-complexity = 10
ignore =
# whitespace before and after ( )
E201,
E202,
# whitespace before ':' ','etc..
E203,
# multiple spaces before operator
E221,
# unexpected spaces around keyword / parameter equals
E251,
# multiple spaces before keyword
E272,
# too many blanck lines
E303,
# do not use bare 'except'
E722,
# Do not assign a lambda expression, use a def
E731,
# trailing whitespace
W291,
# line break after binary operator
W504,
per_file_ignores =
# unused import
__init__.py: F401,
# escape sequence in splash screen
# ignore complexity (arg parsing)
fedbiomed/node/cli.py: , W605, C901,
# regexp
fedbiomed/researcher/job.py: W605,
fedbiomed/researcher/filetools.py: W605
exclude = .git, __pycache__