-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (39 loc) · 753 Bytes
/
tox.ini
File metadata and controls
45 lines (39 loc) · 753 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
[tox]
envlist = py{27,35,36,37,38}
skipsdist = True
[testenv]
passenv =
CODECOV_* TOXENV CI TRAVIS TRAVIS_*
DATABASE_URL PRIVATE_KEY QUERIES_RESULTS_PATH
API_PUBLIC_KEY
API_PRIVATE_KEY
commands =
pytest --cov --cov-report=
codecov
deps =
-rrequirements.tox.txt
[testenv:black]
basepython = python3.8
deps =
black>=19.10b0
commands =
black --check .
[testenv:flake8]
basepython = python3.8
deps =
flake8>=3.7.0
commands =
flake8 culqi tests
[testenv:pydocstyle]
basepython = python3.8
whitelist_externals = sh
commands =
sh -c 'find culqi -name "*.py" -type f | xargs pydocstyle -v'
[travis]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37
3.8-dev: py38
unignore_outcomes = True