fix minor things

This commit is contained in:
Thomas Kriechbaumer 2016-02-16 22:01:50 +01:00
parent 6c9aeaab9e
commit e2ca4ea923
6 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
[run]
branch = True
include = libmproxy netlib libpathod
include = mitmproxy netlib pathod
omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
[report]

View File

@ -1,7 +1,7 @@
ignore-paths:
- mitmproxy/docs
- mitmproxy/examples
- mitmproxy/libmproxy/contrib
- mitmproxy/mitmproxy/contrib
- mitmproxy/web
max-line-length: 140
pylint:

View File

@ -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.

View File

@ -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,

View File

@ -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,

View File

@ -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,