Skip to content

Commit 6ba81ed

Browse files
committed
add flakehell
1 parent 2445af7 commit 6ba81ed

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

pyproject.toml

+16-2
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,25 @@ line-length = 120
6464
target-version = ['py36', 'py37', 'py38']
6565
skip_string_normalization = '1'
6666

67+
[tool.flakehell]
68+
max-line-length = 120
69+
show-source = true
70+
71+
format = "grouped"
72+
73+
[tool.flakehell.plugins]
74+
pyflakes = ["+*", "-F401"]
75+
flake8-bandit = ["-*", "+S1??"]
76+
"flake8-*" = ["+*"]
77+
flake8-docstrings = ["-*"]
78+
79+
6780
[flake8]
81+
max-line-length = 120
6882
show-source = true
69-
statistics = true
83+
7084
max-complexity = 18
71-
max-line-length = 120
85+
statistics = true
7286
exclude = '.git,.tox,__pycache__,build,dist,tests/*,lib/exabgp/vendoring/*,'
7387

7488
select = 'B,C,E,F,W,T4,B9'

0 commit comments

Comments
 (0)