forked from sdelements/django-security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
40 lines (36 loc) · 769 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
36
37
38
39
40
[tox]
envlist = {py36}-django{111,22,30}, docs, pep8
[testenv]
whitelist_externals = make
commands = coverage run --source {envsitepackagesdir}/security --omit="*migrations/*" testing/manage.py test tests
commands_post = coverage report
basepython =
py36: python3.6
deps =
django-discover-runner
django111: django==1.11
django22: django==2.2
django30: django==3.0
coverage
ua_parser==0.7.1
mock==2.0.0
[testenv:docs]
basepython = python2.7
deps =
Sphinx
django==1.11
ua_parser==0.7.1
commands =
make clean
make html
[testenv:pep8]
basepython = python3.6
deps=
pep8-naming
hacking
flake8==2.6.0
commands=flake8 security testing
[flake8]
ignore=E131,H306,H301,H404,H405,H101,N802,N812
max-complexity=10
exclude=*migrations*