forked from zorun/django-simplesshkey
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
51 lines (42 loc) · 1010 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
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist = django30,django31,django32,django40,django41,django42,lint
[testenv]
commands = {envpython} manage.py test simplesshkey.tests []
deps =
Django < 3.1
[testenv:django30]
deps =
Django < 3.1
[testenv:django31]
deps =
Django < 3.2
[testenv:django32]
deps =
Django < 4.0
[testenv:django40]
deps =
Django < 4.1
[testenv:django41]
deps =
Django < 4.2
[testenv:django42]
deps =
Django < 4.3
[testenv:lint]
deps =
flake8==6.0.0
vermin==1.5.1
restructuredtext_lint==1.4.0
commands =
# Note: we don't actually want to support python2.7, but for now we have to specify it.
# It should be fixed in vermin 1.6
vermin --no-tips --violations -t=2.7 -t=3.6- simplesshkey testproject
flake8 manage.py setup.py simplesshkey testproject
rst-lint README.rst README.upgrading.rst RELEASE-NOTES.rst
[flake8]
extend-ignore =
W503,
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
exclude = */migrations/*
max_line_length = 88