mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
ffca395e48
- Don't skip tests that fail - Don't omit console from coverage I'm working on the pathod races, and can't seem to reproduce the failures locally. Also, let's not kid ourselves about the console coverage - it should be tracked. To improve it, we should measure it. Regressions in coverage of the module should be flagged by CI.
21 lines
419 B
INI
21 lines
419 B
INI
[flake8]
|
|
max-line-length = 140
|
|
max-complexity = 25
|
|
ignore = E251,C901
|
|
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*
|
|
builtins = file,open,basestring,xrange,unicode,long,cmp
|
|
|
|
[pytest]
|
|
testpaths = test
|
|
addopts = --capture=no
|
|
|
|
[coverage:run]
|
|
branch = True
|
|
omit = *contrib*, *tnetstring*, *platform*, *main.py
|
|
|
|
[coverage:report]
|
|
show_missing = True
|
|
exclude_lines =
|
|
pragma: no cover
|
|
raise NotImplementedError()
|