2015-05-30 00:03:28 +00:00
|
|
|
[flake8]
|
2016-05-29 11:33:20 +00:00
|
|
|
max-line-length = 140
|
2016-05-29 09:43:29 +00:00
|
|
|
max-complexity = 25
|
|
|
|
ignore = E251,C901
|
2016-05-29 11:33:20 +00:00
|
|
|
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*
|
2016-05-29 18:09:53 +00:00
|
|
|
builtins = file,open,basestring,xrange,unicode,long,cmp
|
2015-09-28 08:59:10 +00:00
|
|
|
|
|
|
|
[pytest]
|
2016-01-27 09:10:14 +00:00
|
|
|
testpaths = test
|
2016-05-02 23:51:49 +00:00
|
|
|
addopts = --capture=no
|
2016-02-18 12:24:17 +00:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
branch = True
|
2016-06-02 02:44:06 +00:00
|
|
|
omit = *contrib*, *tnetstring*, *platform*, *main.py
|
2016-02-18 12:24:17 +00:00
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
show_missing = True
|
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
raise NotImplementedError()
|