Reduce complexity of view_list to bring tox complexity down to 10

This commit is contained in:
Scot Hacker 2016-08-02 01:32:29 -07:00
parent 2264c51e77
commit 1ff499a003
4 changed files with 65 additions and 57 deletions

View file

@ -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]