forked from AIM-Harvard/pyradiomics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
42 lines (41 loc) · 1.16 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
[flake8]
max-line-length: 180
# Whether to display the pep8 instructions on failure (can be quite verbose)
show-pep8: False
# Whether to show source code for each failure
show-source: True
# Maximum cyclomatic complexity allowed
max-complexity: 14
format: pylint
exclude: .git,.idea,.eggs,__pycache__,.tox,docs/conf.py,_skbuild,build,versioneer.py
ignore:
# cycolmatic complexity check
C901,
# indentation is not a multiple of four
E111,
# indentation is not a multiple of four (comment)
E114,
# continuation line under-indented for hanging indent
E121,
# missing whitespace around arithmetic operator
E226,
# at least two spaces before inline comment
E261,
# expected 2 blank lines
E302,
# expected 2 blank lines after class or function definition
E305,
# multiple imports on one line
E401,
# module level import not at top of file
E402,
# multiple statements on one line (colon)
E701,
# .has_key() is deprecated, use 'in'
W601,
# line break after binary operator
W504,
select: C,E,W,F,I
# flake8-import-order
application-import-names: radiomics,testUtils
import-order-style: appnexus