forked from python-versioneer/python-versioneer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
46 lines (41 loc) · 1.44 KB
/
tox.ini
File metadata and controls
46 lines (41 loc) · 1.44 KB
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
46
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py26,py27,py32,py33,py34,py35,py36,pypy,pypy3
skip_missing_interpreters = True
[testenv]
# virtualenv>=14.0.0 is incompatible with python 3.2
# flake8>=3.0.0 is incompatible with 2.6,3.2,3.3
deps =
pyflakes
py26,py32,py33: flake8<3.0.0
py27,py34,py35,py36,pypy,pypy3: flake8
py26,py32: pydocstyle<2
py26,py32: flake8-docstrings<1.1.0
py27,py33,py34,py35,py36,pypy,pypy3: flake8-docstrings
wheel
setuptools
py32: virtualenv<14.0.0
py26,py27,py33,py34,py35,py36,pypy,pypy3: virtualenv
discover
pep8
commands =
pip --version
easy_install --version
virtualenv --version
# this creates versioneer.py in the current directory, which is used by
# tests
python setup.py make_versioneer
python -m discover test
python test/git/test_git.py -v
python test/git/test_invocations.py -v
# this creates git_version.py, which is used by tests
python setup.py make_long_version_py_git
pyflakes setup.py versioneer.py git_version.py
# pyflakes all of src except src/git/long_header.py and src/header.py
python test/run_pyflakes_src.py
pyflakes test
flake8 git_version.py versioneer.py
pep8 git_version.py versioneer.py