Reduce complexity of view_list to bring tox complexity down to 10
This commit is contained in:
parent
2264c51e77
commit
1ff499a003
4 changed files with 65 additions and 57 deletions
3
tox.ini
3
tox.ini
|
@ -18,7 +18,6 @@ deps = flake8
|
|||
commands = flake8 .
|
||||
|
||||
[flake8]
|
||||
# TODO: reduce max-complexity, ideally to 10
|
||||
max-line-length = 120
|
||||
max-complexity = 21
|
||||
max-complexity = 10
|
||||
exclude = [build, lib, bin, dist, docs/conf.py, */migrations, .eggs, *.egg-info]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue