forked from mathiasertl/django-ca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (49 loc) · 1.37 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
53
54
[tox]
envlist = docs,lint
py{36,37,38,39}-django{2.2,3.1}-cryptography{3.0,3.1,3.2,3.3}-idna{2.10}
[testenv]
skipsdist = True
deps =
-rrequirements/requirements-tox.txt
django2.2: Django==2.2.17
django3.1: Django==3.1.5
cryptography3.0: cryptography==3.0
cryptography3.1: cryptography==3.1
cryptography3.2: cryptography==3.2.1
cryptography3.3: cryptography==3.3.1
idna2.10: idna==2.10
whitelist_externals = rm
commands =
python dev.py coverage
rm -rf {envdir}/db.sqlite3 {envdir}/files/
python dev.py init-demo
[testenv:lint]
basepython = python3
skipsdist = True
deps =
-rrequirements/requirements-lint.txt
termcolor
pyyaml
commands = python dev.py code-quality
[testenv:docs]
basepython = python3
skipsdist = True
whitelist_externals = make
deps =
-rrequirements/requirements-docs.txt
commands = make -C docs clean html-check
[flake8]
max-line-length = 110
ignore = E265
exclude = migrations,localsettings.py
[isort]
line_length=110
skip=migrations,stubs
force_single_line = true
known_crypto=cryptography,ocspbuilder,ocspbuilder,asn1crypto,oscrypto
known_django=django
known_django_addon=django_object_actions
known_test=freezegun,selenium,django_webtest,pyvirtualdisplay
known_third_party=OpenSSL
known_local_folder=django_ca
sections=FUTURE,STDLIB,THIRDPARTY,CRYPTO,DJANGO,DJANGO_ADDON,TEST,FIRSTPARTY,LOCALFOLDER