-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
35 lines (32 loc) · 701 Bytes
/
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
[tox]
minversion = 1.9
envlist =
py{3.7,3.8}-django3.2
isolated_build = True
[tox:.package]
# note tox will use the same python version as under what tox is installed to package
# so unless this is python 3 you can require a given python version for the packaging
# environment via the basepython key
basepython = python3
[testenv]
setenv =
DJANGO_SETTINGS_MODULE = tests.settings
PYTHONWARNINGS = always
PYTHONDONTWRITEBYTECODE = 1
commands = pytest --cov=storages tests/ {posargs}
deps =
django3.2: Django>=3.2,<4.0
cryptography
pytest
pytest-cov
rsa
extras =
supabase
[testenv:flake8]
deps =
flake8
isort>=5.0.0
commands =
flake8
isort --check-only --diff .
skip_install = true