0001-tox-move-pylint-to-separate-environment-61493.patch
tox.ini | ||
---|---|---|
1 | 1 |
[tox] |
2 | 2 |
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/{env:BRANCH_NAME:} |
3 |
envlist = coverage-py3-django22-codestyle-pylint
|
|
3 |
envlist = coverage-py3-django22-codestyle, pylint
|
|
4 | 4 | |
5 | 5 |
[testenv] |
6 | 6 |
usedevelop = True |
... | ... | |
38 | 38 |
./getlasso3.sh |
39 | 39 |
python manage.py compilemessages |
40 | 40 |
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/} |
41 |
pylint: ./pylint.sh combo/ tests/ |
|
42 | 41 |
codestyle: pre-commit run --all-files --show-diff-on-failure |
42 | ||
43 |
[testenv:pylint] |
|
44 |
setenv = |
|
45 |
DJANGO_SETTINGS_MODULE=combo.settings |
|
46 |
COMBO_SETTINGS_FILE=tests/settings.py |
|
47 |
TOX_WORK_DIR={toxworkdir} |
|
48 |
SETUPTOOLS_USE_DISTUTILS=stdlib |
|
49 |
DB_ENGINE=django.db.backends.postgresql_psycopg2 |
|
50 |
deps = |
|
51 |
pytest-django |
|
52 |
pytest-freezegun |
|
53 |
pytest!=5.3.3 |
|
54 |
WebTest |
|
55 |
mock<4 |
|
56 |
httmock |
|
57 |
django-mellon>=1.13 |
|
58 |
pylint |
|
59 |
pylint-django |
|
60 |
django-webtest<1.9.3 |
|
61 |
pyquery |
|
62 |
psycopg2-binary<2.9 |
|
63 |
git+https://git.entrouvert.org/debian/django-ckeditor.git |
|
64 |
uwsgidecorators |
|
65 |
commands = |
|
66 |
./getlasso3.sh |
|
67 |
./pylint.sh combo/ tests/ |
|
43 |
- |