-
Notifications
You must be signed in to change notification settings - Fork 2
/
.flake8
42 lines (40 loc) · 874 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
#########################
# Flake8 Configuration #
# (.flake8) #
# (formerly in tox.ini) #
#########################
[flake8]
ignore =
W503 # line break before binary operator
S403 # Pickle security
S301 # Pickle security
S405 # xml security
S314 # xml security
C901 # too complex methods
exclude =
.tox,
.git,
__pycache__,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
max-complexity = 20
max-line-length = 120
import-order-style = pycharm
application-import-names =
pathme
pybel
pybel_tools
bio2bel
bio2bel_hgnc
bio2bel_chebi
bio2bel_wikipathways
bio2bel_kegg
bio2bel_reactome
tests
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s