forked from devilry/trix2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (30 loc) · 757 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
# https://tox.readthedocs.io/en/latest/
[tox]
envlist =
py36,
flake8
[testenv]
setenv =
DJANGOENV=test
commands =
python manage.py test trix
deps =
-rrequirements/develop.txt
# Run the tests with python 3.6
[testenv:py36]
basepython = python3.6
# 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