2019-07-10 15:57:21 -07:00
|
|
|
[flake8]
|
|
|
|
max-line-length=88
|
|
|
|
count=True
|
|
|
|
show-source=False
|
|
|
|
statistics=True
|
2020-02-03 02:35:11 -07:00
|
|
|
exclude=.git, __pycache__, hyperglass/api/examples/*.py
|
2019-07-10 15:57:21 -07:00
|
|
|
filename=*.py
|
2019-12-31 18:30:24 -07:00
|
|
|
per-file-ignores=
|
2020-01-20 00:38:26 -07:00
|
|
|
# Disable redefinition warning for exception handlers
|
2020-01-20 19:50:08 -07:00
|
|
|
hyperglass/api.py:F811
|
2019-12-31 18:30:24 -07:00
|
|
|
# Disable classmethod warning for validator decorators
|
2020-02-13 21:13:19 -07:00
|
|
|
hyperglass/api/models/*.py:N805,E0213,R0903
|
|
|
|
hyperglass/configuration/models/*.py:N805,E0213,R0903,E501,C0301
|
2020-02-01 16:11:01 -10:00
|
|
|
hyperglass/api/models/response.py:E501,C0301
|
2020-01-26 02:13:14 -07:00
|
|
|
ignore=W503,C0330,R504,D202
|
2020-01-03 03:04:50 -07:00
|
|
|
select=B, BLK, C, D, E, F, I, II, N, P, PIE, S, R, W
|
2019-07-10 15:57:21 -07:00
|
|
|
disable-noqa=False
|
|
|
|
hang-closing=False
|
|
|
|
max-complexity=10
|
|
|
|
# format=${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s
|