2019-07-10 15:57:21 -07:00
|
|
|
[flake8]
|
|
|
|
max-line-length=88
|
|
|
|
count=True
|
|
|
|
show-source=False
|
|
|
|
statistics=True
|
2021-09-07 22:58:39 -07:00
|
|
|
exclude=.git, hyperglass/ui, __pycache__, hyperglass/api/examples/*.py, hyperglass/compat/_sshtunnel.py, test.py
|
2019-07-10 15:57:21 -07:00
|
|
|
filename=*.py
|
2019-12-31 18:30:24 -07:00
|
|
|
per-file-ignores=
|
2020-04-13 01:00:42 -07:00
|
|
|
hyperglass/main.py:E402
|
2019-12-31 18:30:24 -07:00
|
|
|
# Disable classmethod warning for validator decorators
|
2020-10-05 12:07:34 -07:00
|
|
|
hyperglass/models/*.py:N805,E0213,R0903,E501,C0301
|
|
|
|
hyperglass/models/api/*.py:N805,E0213,R0903,E501,C0301
|
|
|
|
hyperglass/models/commands/*.py:N805,E0213,R0903,E501,C0301
|
2020-04-24 11:41:43 -07:00
|
|
|
hyperglass/parsing/models/*.py:N805,E0213,R0903
|
|
|
|
hyperglass/configuration/models/*.py:N805,E0213,R0903,E501,C0301
|
2020-10-05 12:07:34 -07:00
|
|
|
# Disable unused import warning for modules
|
|
|
|
hyperglass/*/__init__.py:F401
|
|
|
|
hyperglass/models/*/__init__.py:F401
|
2021-01-18 14:35:10 -07:00
|
|
|
ignore=W503,C0330,R504,D202,S403,S301,S404
|
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
|