File tree 6 files changed +13
-46
lines changed
6 files changed +13
-46
lines changed Original file line number Diff line number Diff line change @@ -199,13 +199,10 @@ but here is a simple overview:
199
199
You need to have Python 2.7 and 3.5 available in your system. Now
200
200
running tests is as simple as issuing this command::
201
201
202
- $ python3 runtox.py -e linting,py27,py35
202
+ $ tox -e linting,py27,py35
203
203
204
204
This command will run tests via the "tox" tool against Python 2.7 and 3.5
205
- and also perform "lint" coding-style checks. ``runtox.py `` is
206
- a thin wrapper around ``tox `` which installs from a development package
207
- index where newer (not yet released to PyPI) versions of dependencies
208
- (especially ``py ``) might be present.
205
+ and also perform "lint" coding-style checks.
209
206
210
207
#. You can now edit your local working copy.
211
208
@@ -214,11 +211,11 @@ but here is a simple overview:
214
211
To run tests on Python 2.7 and pass options to pytest (e.g. enter pdb on
215
212
failure) to pytest you can do::
216
213
217
- $ python3 runtox.py -e py27 -- --pdb
214
+ $ tox -e py27 -- --pdb
218
215
219
216
Or to only run tests in a particular test module on Python 3.5::
220
217
221
- $ python3 runtox.py -e py35 -- testing/test_config.py
218
+ $ tox -e py35 -- testing/test_config.py
222
219
223
220
#. Commit and push once your tests pass and you are happy with your change(s)::
224
221
Original file line number Diff line number Diff line change @@ -11,22 +11,19 @@ include setup.py
11
11
12
12
include .coveragerc
13
13
14
- include plugin-test.sh
15
- include requirements-docs.txt
16
- include runtox.py
17
-
18
14
recursive-include bench *.py
19
15
recursive-include extra *.py
20
16
21
17
graft testing
22
18
graft doc
19
+ prune doc/en/_build
23
20
24
21
exclude _pytest/impl
25
22
26
23
graft _pytest/vendored_packages
27
24
28
25
recursive-exclude * *.pyc *.pyo
29
26
30
- exclude appveyor/install.ps1
31
27
exclude appveyor.yml
32
- exclude appveyor
28
+ exclude .travis.yml
29
+ prune .github
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -47,9 +47,13 @@ commands= pytest --genscript=pytest1
47
47
48
48
[testenv:linting]
49
49
basepython = python2.7
50
- deps = flake8
50
+ deps =
51
+ flake8
51
52
restructuredtext_lint
52
- commands = flake8 pytest.py _pytest testing
53
+ check-manifest
54
+ commands =
55
+ check-manifest
56
+ flake8 pytest.py _pytest testing
53
57
rst-lint CHANGELOG.rst HOWTORELEASE.rst
54
58
55
59
[testenv:py27-xdist]
You can’t perform that action at this time.
0 commit comments