-
Notifications
You must be signed in to change notification settings - Fork 30
/
.flake8
53 lines (52 loc) · 1.03 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
51
52
53
#########################
# Flake8 Configuration #
# (.flake8) #
# (formerly in tox.ini) #
#########################
[flake8]
ignore =
# max line length
E501
F401
# star imports
F403
# docstring in magic method
D105
# line break before binary operator
W503
# Docstring in __init__
D107
# Complaining about assert statements
S101
# Complains about random number generators
S311
# Complains about pickles
S301, S403
# Redefinition in CLI
F811
# Error names
N818
# pep8 is wrong
E203
# FIXME later remove this
D401
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
max-complexity = 25
max-line-length = 120
import-order-style = pycharm
application-import-names =
pybel
bel_resources
tests
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s