-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (38 loc) · 869 Bytes
/
tox.ini
File metadata and controls
52 lines (38 loc) · 869 Bytes
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
# https://tox.readthedocs.io/en/latest/
[tox]
envlist =
py38,
py39,
py310,
py311,
flake8
[testenv]
setenv =
DJANGOENV=test
commands =
python manage.py test trix
deps =
-rrequirements/develop.txt
[testenv:py38]
basepython = python3.8
[testenv:py39]
basepython = python3.9
[testenv:py310]
basepython = python3.10
[testenv:py311]
basepython = python3.11
# Run the flake8 code quality checks
[testenv:flake8]
basepython = python
commands =
flake8
# Configuration for flake8
[flake8]
max-line-length = 120
# Excludes:
# - exclude dev/data.py because that is autogenerated
# - exclude bower_components because some of the components contain .py files.
exclude = .git,.tox,__pycache,bower_components,trix/project/develop/dumps/dev/data.py,docs/conf.py,\
**/migrations/*
# See http://flake8.pycqa.org/en/latest/user/error-codes.html
ignore = F403