aboutsummaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 00000000..60de7c52
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,24 @@
+[flake8]
+max-line-length = 120
+max-complexity = 20
+
+[pep8]
+max-line-length = 120
+exclude = */contrib/*
+ignore = E251
+
+[pytest]
+testpaths = test
+addopts = --timeout 30 -s
+
+[coverage:run]
+branch = True
+include = mitmproxy netlib pathod
+omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
+
+[coverage:report]
+show_missing = True
+exclude_lines =
+ pragma: nocover
+ pragma: no cover
+ raise NotImplementedError()