forked from aaugustin/django-sequences
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (36 loc) · 1.17 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
[tox]
isolated_build = true
envlist =
py36-django22
py37-django30
py38-django31
py39-django32
py310-django40
style
[testenv]
deps =
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.1,<3.2
django40: Django>=4.0,<4.1
cx-Oracle
mysqlclient
psycopg2-binary
commands =
python -W error::ResourceWarning -W error::DeprecationWarning -W error::PendingDeprecationWarning -m django test --settings=tests.sqlite_settings
python -W error::ResourceWarning -W error::DeprecationWarning -W error::PendingDeprecationWarning -m django test --settings=tests.postgresql_settings
python -W error::ResourceWarning -W error::DeprecationWarning -W error::PendingDeprecationWarning -m django test --settings=tests.mysql_settings
python -W error::ResourceWarning -W error::DeprecationWarning -W error::PendingDeprecationWarning -m django test --settings=tests.oracle_settings
passenv = SEQUENCES_*
[testenv:style]
deps =
black
flake8
isort
commands =
isort --check-only --project sequences src tests
black --check src tests
flake8 src tests
[flake8]
max-line-length = 88