-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (36 loc) · 920 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
[tox]
envlist =
lint
coverage
docs
[testenv]
commands =
coverage: coverage run tests/manage.py test -v 2 tests/testsuite
coverage: coverage report -m
coverage-report: coveralls
docs: sphinx-build -EqW docs docs/_build
lint: black --check -t py34 django_flexquery tests setup.py
lint: pylint --rcfile=tox.ini django_flexquery
tests: {envpython} tests/manage.py test -v 2 tests/testsuite
deps =
django22: django ~= 2.2.0
django30,!django22-!django30: django ~= 3.0.0
coverage: coverage >= 4.5
coverage-report: coveralls >= 1.8
docs: -r{toxinidir}/docs/requirements.txt
lint: black
lint: pylint ~= 2.3
passenv =
TRAVIS*
setenv =
PYTHONPATH={toxinidir}
skip_install = True
[coverage:run]
source=django_flexquery
[pylint]
disable =
bad-continuation,
import-outside-toplevel,
protected-access,
too-few-public-methods
score = no