forked from feincms/feincms3-sites
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (44 loc) · 955 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
[tox]
envlist =
py{36,37,38,39}-dj{22,30,31,32}
py{38,39}-dj{main}
style
[testenv]
usedevelop = true
extras = tests
commands =
python -Wd {envbindir}/coverage run tests/manage.py test -v2 --keepdb {posargs:testapp}
coverage report -m
deps =
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<4.0
djmain: https://github.com/django/django/archive/main.tar.gz
[testenv:style]
deps =
black
flake8
isort
changedir = {toxinidir}
commands =
isort setup.py feincms3_sites tests
black .
flake8 .
skip_install = true
# [testenv:docs]
# deps =
# Sphinx
# sphinx-rtd-theme
# Django
# django-ckeditor
# django-content-editor
# django-tree-queries>=0.4.1
# django-imagefield
# django-versatileimagefield
# html-sanitizer
# requests
# changedir = docs
# commands = make html
# skip_install = true
# whitelist_externals = make