forked from rytilahti/python-songpal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
55 lines (48 loc) · 844 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[tox]
envlist=py35,py36,flake8,typing,lint
[tox:travis]
3.5 = py35
3.6 = py36
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps=
pytest
pytest-cov
voluptuous
commands=
py.test --cov songpal
[testenv:flake8]
deps=
flake8
# flake8-isort
flake8-docstrings
flake8-comprehensions
flake8-mypy
commands=flake8 --statistics songpal
[testenv:lint]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files
[flake8]
ignore =
D105
D204
E203 # black #315
exclude = .git,.tox,__pycache__
max-line-length = 88
[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
known_first_party=songpal
known_third_party=
aiohttp
async_upnp_client
attr
click
setuptools
[testenv:typing]
deps=mypy
commands=mypy --ignore-missing-imports songpal