forked from romanz/trezor-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
29 lines (29 loc) · 726 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
envlist = py3
[pycodestyle]
max-line-length = 100
[pep257]
add-ignore = D401
[testenv]
platform =
lin: linux
win: win32
deps=
pytest
mock
pycodestyle
coverage
pylint
semver
pydocstyle
isort
pywin32;sys_platform=="win32"
commands=
pycodestyle libagent
isort --skip-glob .tox -c libagent
win: pylint --reports=no --rcfile .pylintrc libagent --extension-pkg-allow-list=win32api,win32event,win32file,win32pipe,winerror --generated-members=socket.AF_UNIX
lin: pylint --reports=no --rcfile .pylintrc libagent --ignore-paths libagent/win_server.py
pydocstyle libagent
coverage run --source libagent -m pytest -v libagent
coverage report
coverage html