summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2018-09-09 18:12:31 -0700
committerSeth M Morton <seth.m.morton@gmail.com>2018-09-09 18:57:31 -0700
commit1fe1b8df3668722b73c893f0fcac8acecceed1af (patch)
treea85a30cd05c2967b23eeae145956568196041733 /setup.cfg
parent096b25569bb00aa74924aa405a1f0ddbe03e8ed0 (diff)
downloadnatsort-1fe1b8df3668722b73c893f0fcac8acecceed1af.tar.gz
Resolve flake8 errors in non-test code.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg19
1 files changed, 18 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index fbcd8dd..13b832e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -50,4 +50,21 @@ search = XX-XX-XXXX v. X.X.X
replace = {now:%%m-%%d-%%Y} v. {new_version}
[flake8]
-max-line-length = 90
+max-line-length = 89
+import-order-style = pycharm
+doctests = True
+max-complexity = 10
+exclude =
+ natsort.egg-info,
+ .tox,
+ .cache,
+ .git,
+ __pycache__,
+ build,
+ dist,
+ # This has mostly auto-generated code
+ docs,
+ # Let's not check library code
+ .venv,
+ # This file simply has too many intentional errors
+ natsort/compat/py23.py \ No newline at end of file