Merge pull request #2052 from nicoddemus/lint-readme
Check README.rst with rst-lint
This commit is contained in:
commit
5717c71179
|
@ -89,7 +89,7 @@ Please use the `GitHub issue tracker <https://github.com/pytest-dev/pytest/issue
|
||||||
Changelog
|
Changelog
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Consult the `Changelog <http://docs.pytest.org/en/latest/changelog.html>`_ page for fixes and enhancements of each version.
|
Consult the `Changelog <http://docs.pytest.org/en/latest/changelog.html>`__ page for fixes and enhancements of each version.
|
||||||
|
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -42,19 +42,19 @@ deps=pytest-xdist>=1.13
|
||||||
commands=
|
commands=
|
||||||
pytest -n3 -rfsxX --runpytest=subprocess {posargs:testing}
|
pytest -n3 -rfsxX --runpytest=subprocess {posargs:testing}
|
||||||
|
|
||||||
[testenv:genscript]
|
|
||||||
commands= pytest --genscript=pytest1
|
|
||||||
|
|
||||||
[testenv:linting]
|
[testenv:linting]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
|
# pygments required by rst-lint
|
||||||
|
pygments
|
||||||
restructuredtext_lint
|
restructuredtext_lint
|
||||||
check-manifest
|
check-manifest
|
||||||
commands =
|
commands =
|
||||||
check-manifest
|
check-manifest
|
||||||
flake8 pytest.py _pytest testing
|
flake8 pytest.py _pytest testing
|
||||||
rst-lint CHANGELOG.rst HOWTORELEASE.rst
|
rst-lint CHANGELOG.rst HOWTORELEASE.rst README.rst
|
||||||
|
|
||||||
[testenv:py27-xdist]
|
[testenv:py27-xdist]
|
||||||
deps=pytest-xdist>=1.13
|
deps=pytest-xdist>=1.13
|
||||||
|
|
Loading…
Reference in New Issue