forked from pylint-dev/pylint-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (49 loc) · 1.47 KB
/
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
# This configuration file is for Tox. https://tox.readthedocs.io/
# It houses configuration sections for common Python tools, too.
[tox]
envlist =
django_not_installed
flake8
pylint
readme
py{37,38,39}-django{22,30,31,32}
py{38,39,310,311}-django{40,41,42}
requires =
pip >=21.0.1
poetry
tox
[testenv]
commands =
django_not_installed: bash pylint_django/tests/test_django_not_installed.sh
flake8: flake8 pylint_django/
pylint: pylint pylint_django
readme: bash -c "poetry build && twine check dist/*"
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: bash scripts/test.sh --cov=pylint_django
clean: find . -type f -name '*.pyc' -delete
clean: find . -type d -name __pycache__ -delete
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
deps =
ruff: ruff
pylint: pylint<3
pylint: Django
readme: twine
readme: wheel
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django-main: Django
django-main: git+https://github.com/pycqa/astroid@main
django-main: git+https://github.com/pycqa/pylint@main
setenv =
PIP_DISABLE_PIP_VERSION_CHECK = 1
PYTHONPATH = .
allowlist_externals =
django_not_installed: bash
readme: bash
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: bash
clean: find
clean: rm