Skip to content

Commit a4a9b59

Browse files
committed
tox + tox-pyenv
1 parent 2548c4d commit a4a9b59

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
.venv
1+
.venv*
22
__pycache__
3+
.cache
34
.pytest_cache
45
Pipfile.lock
56
/*bin
6-
*log
7+
*log
8+
*pyc
9+
.tox

Pipfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ nanotime = "*"
88
pysodium = "*"
99

1010
[dev-packages]
11-
jedi = "*"
12-
rope = "*"
13-
"autopep8" = "*"
14-
yapf = "*"
15-
"flake8" = "*"
1611
pytest = "*"
1712
ipython = "*"
1813
requests = "*"
14+
tox = "*"
15+
black = "*"
16+
tox-pyenv = "*"
1917

20-
[requires]
21-
python_version = "3.6"
18+
[pipenv]
19+
allow_prereleases = true

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# tox (https://tox.readthedocs.io/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
6+
[tox]
7+
envlist = py27, py36, py37
8+
9+
[testenv]
10+
deps =
11+
pytest
12+
commands =
13+
pytest

0 commit comments

Comments
 (0)