forked from kirberich/djangae
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (31 loc) · 809 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]
envlist = py37, py38, flake8
[testenv]
deps =
ipdb
20: Django >= 2.0, < 2.1
21: Django >= 2.1, < 2.2
22: Django >= 2.2, < 3.0
30: Django >= 3.0, < 3.1
commands =
pip install beautifulsoup4 # Test requirements
pip install gcloud-tasks-emulator>=0.5.1
pip install gcloud-storage-emulator>=0.2.2
pip install requests-oauthlib
pip install google-auth-oauthlib
pip install google-cloud-tasks<2.0.0
pip install selenium
pip install -e .
django-admin.py test --settings=test_settings {posargs}
whitelist_externals = gcloud
skip_missing_interpreters = true
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8 djangae/
[flake8]
max-line-length = 120
[isort]
multi_line_output = 3
force_grid_wrap = true
include_trailing_comma = true