mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
move linter & isort configs to separate files
This commit is contained in:
23
.flake8
Normal file
23
.flake8
Normal file
@@ -0,0 +1,23 @@
|
||||
[flake8]
|
||||
max-line-length=88
|
||||
count=True
|
||||
show-source=False
|
||||
statistics=True
|
||||
exclude=.git, __pycache__,
|
||||
filename=*.py
|
||||
per-file-ignores=
|
||||
# Disable redefinition warning for exception handlers
|
||||
hyperglass/hyperglass.py:F811
|
||||
# Disable string length warnings so I can actually read the commands
|
||||
hyperglass/configuration/models/commands.py:E501,C0301
|
||||
# Disable string length warnings so I can actually read the messages
|
||||
hyperglass/configuration/models/messages.py:E501,C0301
|
||||
# Disable classmethod warning for validator decorators
|
||||
hyperglass/configuration/models/*.py:N805,E0213,R0903
|
||||
hyperglass/models/*.py:N805,E0213,R0903
|
||||
ignore=W503,C0330,R504
|
||||
select=B, BLK, C, D, E, F, I, II, N, P, PIE, S, R, W
|
||||
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
|
Reference in New Issue
Block a user