-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (29 loc) · 767 Bytes
/
tox.ini
File metadata and controls
32 lines (29 loc) · 767 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
[tox]
envlist =
py{37},
flake8
skipsdist = True
[testenv]
passenv = *
deps = -r{toxinidir}/requirements.txt
setenv =
ROOT_USER = root
ROOT_PASSWORD = toor
commands = python manage.py test
[testenv:flake8]
deps = flake8
commands = flake8
[flake8]
max-line-length = 130
exclude = .tox,migrations,docs,examples,assets,src,apps/member/constants.py,venv.
ignore =
E121, # continuation line under-indented for hanging indent
E126, # continuation line over-indented for hanging indent
E241, # multiple spaces after ','
E261,
E501,
W291, # trailing whitespace
W293, # blank line contains whitespace
W391, # blank line at end of file
W503, # line break occurred before a binary operator
W504, # line break occurred after a binary operator