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:
Kevin Morris 2021-11-17 05:49:08 -08:00
parent 2df7187514
commit 672af707ad
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -19,19 +19,6 @@ max-complexity = 10
# do this, so we're ignoring it here. # do this, so we're ignoring it here.
ignore = E741, W503, W504 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] [isort]
line_length = 127 line_length = 127
lines_between_types = 1 lines_between_types = 1