forked from numirias/qtile-plasma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (47 loc) · 922 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
[tox]
envlist = py37,py38,py39,lint,coverage-report
[testenv]
deps =
setuptools>=41
xcffib
coverage
pytest<5.0.0
pytest-xdist
commands =
coverage run --parallel -m pytest -v {posargs} tests/
[testenv:coverage-report]
basepython = python3.9
skip_install = true
deps = coverage
commands =
coverage combine
coverage report
[testenv:lint]
deps =
xcffib
flake8
pylint
commands =
flake8 plasma/
pylint --rcfile setup.cfg plasma/
[testenv:release]
deps =
wheel
twine
commands =
rm -rf *.egg-info build/ dist/
python setup.py bdist_wheel sdist
twine upload -r pypi dist/*
rm -rf *.egg-info build/ dist/
[pylint]
disable =
missing-docstring,
invalid-name,
unused-argument,
too-few-public-methods,
too-many-public-methods,
protected-access,
no-self-use,
too-many-instance-attributes,
fixme,
raise-missing-from,