forked from Magicianred/sqlcommenter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (32 loc) · 622 Bytes
/
Copy pathtox.ini
File metadata and controls
34 lines (32 loc) · 622 Bytes
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
[tox]
envlist =
py3{5,6,7}-django{21,22}
py3{5,6,7}-psycopg2
py{27,35,36,37}-{flask,generic,sqlalchemy}
flake8
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE = 1
PYTHONWARNINGS = all
deps =
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0
flask: flask
flask: pytest
opencensus
!py27: opentelemetry-api
psycopg2: forbiddenfruit
psycopg2: psycopg2
sqlalchemy: sqlalchemy
py27: mock
six
commands =
python runtests.py
[testenv:flake8]
skip_install = True
deps =
flake8
isort < 5
commands =
flake8
isort --recursive --check-only --diff