mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
Exclude main.py from coverage analysis
This commit is contained in:
parent
7d76f3e992
commit
5af7c9ebf4
@ -2,5 +2,5 @@
|
||||
branch = True
|
||||
|
||||
[report]
|
||||
omit = *contrib*, *tnetstring*, *platform*, *console*
|
||||
omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
|
||||
include = *libmproxy*
|
||||
|
@ -8,6 +8,9 @@ from .proxy import process_proxy_options, ProxyServerError
|
||||
from .proxy.server import DummyServer, ProxyServer
|
||||
|
||||
|
||||
# This file is not included in coverage analysis or tests - anything that can be
|
||||
# tested should live elsewhere.
|
||||
|
||||
def check_versions():
|
||||
"""
|
||||
Having installed a wrong version of pyOpenSSL or netlib is unfortunately a
|
||||
|
Loading…
Reference in New Issue
Block a user