diff --git a/.travis.yml b/.travis.yml index c529d80..81c224d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ before_install: - "if grep '\t' *.py *.rst; then echo 'Tabs are bad, please use four spaces.'; false; fi" - "if grep -n -r '[[:blank:]]$' *.py *.rst; then echo 'Please remove trailing whitespace.'; false; fi" - pip install --upgrade pip setuptools - - pip install flake8 flake8-docstrings restructuredtext-lint + - pip install flake8 flake8-docstrings rstcheck - "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install flake8-black; fi" - echo "Using restructuredtext-lint to check documentation" - restructuredtext-lint *.rst diff --git a/README.rst b/README.rst index 62df8ad..53089dc 100644 --- a/README.rst +++ b/README.rst @@ -32,10 +32,9 @@ has a flake8 plugin called ``flake8-docstrings``, see: - https://github.com/PyCQA/flake8-docstrings The reStructuredText (RST) validation is done by calling ``docutils`` via -Todd Wolfson's ``restructuredtext-lint`` code: +Steven Myint's ``rstcheck`` code: -- http://docutils.sourceforge.net/ -- https://github.com/twolfson/restructuredtext-lint +- https://github.com/myint/rstcheck I recommend you *also* install the related `flake8-docstrings `_ plugin, which brings @@ -219,6 +218,8 @@ Version History ======= ========== =========================================================== Version Released Changes ------- ---------- ----------------------------------------------------------- +v0.1.0 *Pending* - Switched from ``restructuredtext-lint`` to ``rstcheck`` + which also checks syntax of any code blocks within RST. v0.0.13 2019-12-26 - Adds ``RST218`` and ``RST219``. v0.0.12 2019-11-18 - Adds ``RST213`` to ``RST217``. v0.0.11 2019-08-07 - Configuration options to define additional directives and