tox: move pylint to separate environment (#63008)
This commit is contained in:
parent
f497445833
commit
d4f05d10a4
22
tox.ini
22
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py3-django22-codestyle-coverage-pylint
|
||||
envlist = py3-django22-codestyle-coverage, pylint
|
||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:}
|
||||
|
||||
[testenv]
|
||||
|
@ -33,5 +33,23 @@ commands =
|
|||
./getlasso3.sh
|
||||
python3 setup.py compile_translations
|
||||
py.test {env:COVERAGE:} {posargs:tests/}
|
||||
pylint: ./pylint.sh chrono/ tests/
|
||||
codestyle: pre-commit run --all-files --show-diff-on-failure
|
||||
|
||||
[testenv:pylint]
|
||||
deps =
|
||||
pytest-django
|
||||
pytest!=5.3.3
|
||||
WebTest
|
||||
mock<4
|
||||
httmock
|
||||
pylint
|
||||
pylint-django
|
||||
django-webtest
|
||||
pytz
|
||||
pyquery
|
||||
django-mellon>=1.6.1
|
||||
pytest-freezegun
|
||||
psycopg2-binary<2.9
|
||||
commands =
|
||||
./getlasso3.sh
|
||||
pylint: ./pylint.sh chrono/ tests/
|
||||
|
|
Loading…
Reference in New Issue