Skip to content

Commit 84d7068

Browse files
committed
Add "check-manifest" to linting and remove unused scripts from root
Fix #1
1 parent fc304b8 commit 84d7068

File tree

6 files changed

+13
-46
lines changed

6 files changed

+13
-46
lines changed

CONTRIBUTING.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,10 @@ but here is a simple overview:
199199
You need to have Python 2.7 and 3.5 available in your system. Now
200200
running tests is as simple as issuing this command::
201201

202-
$ python3 runtox.py -e linting,py27,py35
202+
$ tox -e linting,py27,py35
203203

204204
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.
209206

210207
#. You can now edit your local working copy.
211208

@@ -214,11 +211,11 @@ but here is a simple overview:
214211
To run tests on Python 2.7 and pass options to pytest (e.g. enter pdb on
215212
failure) to pytest you can do::
216213

217-
$ python3 runtox.py -e py27 -- --pdb
214+
$ tox -e py27 -- --pdb
218215

219216
Or to only run tests in a particular test module on Python 3.5::
220217

221-
$ python3 runtox.py -e py35 -- testing/test_config.py
218+
$ tox -e py35 -- testing/test_config.py
222219

223220
#. Commit and push once your tests pass and you are happy with your change(s)::
224221

MANIFEST.in

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,19 @@ include setup.py
1111

1212
include .coveragerc
1313

14-
include plugin-test.sh
15-
include requirements-docs.txt
16-
include runtox.py
17-
1814
recursive-include bench *.py
1915
recursive-include extra *.py
2016

2117
graft testing
2218
graft doc
19+
prune doc/en/_build
2320

2421
exclude _pytest/impl
2522

2623
graft _pytest/vendored_packages
2724

2825
recursive-exclude * *.pyc *.pyo
2926

30-
exclude appveyor/install.ps1
3127
exclude appveyor.yml
32-
exclude appveyor
28+
exclude .travis.yml
29+
prune .github

plugin-test.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

requirements-docs.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

runtox.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ commands= pytest --genscript=pytest1
4747

4848
[testenv:linting]
4949
basepython = python2.7
50-
deps = flake8
50+
deps =
51+
flake8
5152
restructuredtext_lint
52-
commands = flake8 pytest.py _pytest testing
53+
check-manifest
54+
commands =
55+
check-manifest
56+
flake8 pytest.py _pytest testing
5357
rst-lint CHANGELOG.rst HOWTORELEASE.rst
5458

5559
[testenv:py27-xdist]

0 commit comments

Comments
 (0)