mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
remove C901 and E741 per-file-ignores exclusion
We no longer have C901 violations and we're already ignoring E741 (short variable names) in the overall `ignore` option. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
2df7187514
commit
672af707ad
1 changed files with 0 additions and 13 deletions
13
setup.cfg
13
setup.cfg
|
@ -19,19 +19,6 @@ max-complexity = 10
|
|||
# do this, so we're ignoring it here.
|
||||
ignore = E741, W503, W504
|
||||
|
||||
# aurweb/routers/accounts.py
|
||||
# Ignore over-reaching complexity.
|
||||
# TODO: This should actually be addressed so we do not ignore C901.
|
||||
#
|
||||
# test/test_ssh_pub_key.py
|
||||
# E501 is detected due to our >127 width test constant. Ignore it.
|
||||
# Due to this, line width should _always_ be looked at in code reviews.
|
||||
# Anything like this should be questioned.
|
||||
#
|
||||
per-file-ignores =
|
||||
aurweb/routers/accounts.py:C901
|
||||
aurweb/routers/packages.py:E741
|
||||
|
||||
[isort]
|
||||
line_length = 127
|
||||
lines_between_types = 1
|
||||
|
|
Loading…
Add table
Reference in a new issue