fix minor things
This commit is contained in:
parent
6c9aeaab9e
commit
e2ca4ea923
|
@ -1,6 +1,6 @@
|
|||
[run]
|
||||
branch = True
|
||||
include = libmproxy netlib libpathod
|
||||
include = mitmproxy netlib pathod
|
||||
omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
|
||||
|
||||
[report]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
ignore-paths:
|
||||
- mitmproxy/docs
|
||||
- mitmproxy/examples
|
||||
- mitmproxy/libmproxy/contrib
|
||||
- mitmproxy/mitmproxy/contrib
|
||||
- mitmproxy/web
|
||||
max-line-length: 140
|
||||
pylint:
|
||||
|
|
|
@ -53,7 +53,7 @@ mitmproxy test suite:
|
|||
.. code-block:: text
|
||||
|
||||
. venv/bin/activate # venv\Scripts\activate.bat on Windows
|
||||
py.test --cov-config .coveragerc test
|
||||
py.test test
|
||||
|
||||
Note that the main executables for the project - ``mitmdump``, ``mitmproxy``,
|
||||
``mitmweb``, ``pathod``, and ``pathoc`` - are all created within the virtualenv. After activating the
|
||||
|
@ -76,7 +76,7 @@ requirements installed, and you can simply run the test suite:
|
|||
|
||||
.. code-block:: text
|
||||
|
||||
py.test --cov-config .coveragerc test
|
||||
py.test test
|
||||
|
||||
Please ensure that all patches are accompanied by matching changes in the test
|
||||
suite. The project tries to maintain 100% test coverage.
|
||||
|
|
|
@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_data_files
|
|||
|
||||
a = Analysis(['../mitmproxy/mitmdump'],
|
||||
binaries=None,
|
||||
datas=collect_data_files("libmproxy.onboarding"),
|
||||
datas=collect_data_files("mitmproxy.onboarding"),
|
||||
hiddenimports=[],
|
||||
hookspath=None,
|
||||
runtime_hooks=None,
|
||||
|
|
|
@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_data_files
|
|||
|
||||
a = Analysis(['../mitmproxy/mitmproxy'],
|
||||
binaries=None,
|
||||
datas=collect_data_files("libmproxy.onboarding"),
|
||||
datas=collect_data_files("mitmproxy.onboarding"),
|
||||
hiddenimports=[],
|
||||
hookspath=None,
|
||||
runtime_hooks=None,
|
||||
|
|
|
@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_data_files
|
|||
|
||||
a = Analysis(['../mitmproxy/mitmweb'],
|
||||
binaries=None,
|
||||
datas=collect_data_files("libmproxy"),
|
||||
datas=collect_data_files("mitmproxy"),
|
||||
hiddenimports=[],
|
||||
hookspath=None,
|
||||
runtime_hooks=None,
|
||||
|
|
Loading…
Reference in New Issue