-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
32 lines (27 loc) · 770 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
[tox]
# TOOD: How to DRY this up with pyproject.toml
# and .travis.yml
# envlist = py35, py36, py37, py38, pypy, flake8
isolated_build = True
[tox:.package]
# note tox will use the same python version as under what tox is installed to package
# so unless this is python 3 you can require a given python version for the packaging
# environment via the basepython key
basepython = python3
[travis]
# TOOD: How to DRY this up with pyproject.toml
# and .travis.yml
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8 github_commit_status
[testenv]
setenv =
PYTHONPATH = {toxinidir}
# TODO: Help me dry this up (Make)
commands = python tests/test_github_commit_status.py