forked from edaniszewski/pylint-quotes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
49 lines (44 loc) · 882 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
[tox]
envlist==py36,py37,py38,py39
skip_missing_interpreters=true
[testenv]
deps=
pylint
pytest
pytest-cov
commands=
pip install -e .
pytest \
--cov-report term \
--cov=pylint_quotes
[testenv:lint]
description=
lint the project source code
deps=
flake8
isort
commands=
pylint pylint_quotes
flake8 --ignore E501 pylint_quotes
isort pylint_quotes -c --diff
[testenv:deps]
description=
update project dependencies
deps=
pip-tools
commands=
pip-compile --output-file requirements.txt setup.py
[testenv:publish]
description=
publish the project to pypi
deps=
twine>=1.5.0
commands=
python setup.py sdist bdist_wheel
twine upload dist/*
[testenv:example]
description=
run pylint with pylint-quotes on the example
commands=
pip install -e .
pylint --load-plugins pylint_quotes example