File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 run : tox -e isort -- --check
4242 - name : Run pylint Python code static checker (https://github.com/PyCQA/pylint)
4343 run : tox -e pylint
44+ - name : Run pre-commit rst checks (https://pre-commit.com/)
45+ run : tox -e pre-commit-rst
Original file line number Diff line number Diff line change @@ -146,9 +146,17 @@ commands = pytest tests/smoke {posargs}
146146
147147[testenv:pre-commit]
148148skip_install = true
149- deps = -r requirements-precommit.txt
149+ deps = -r {toxinidir}/ requirements-precommit.txt
150150commands = pre-commit run --all-files --show-diff-on-failure
151151
152+ [testenv:pre-commit-rst]
153+ skip_install = true
154+ deps = -r {toxinidir}/requirements-precommit.txt
155+ commands =
156+ pre-commit run rst-backticks --all-files --show-diff-on-failure
157+ pre-commit run rst-directive-colons --all-files --show-diff-on-failure
158+ pre-commit run rst-inline-touching-normal --all-files --show-diff-on-failure
159+
152160[testenv:install]
153161skip_install = true
154162deps = -r{toxinidir}/requirements.txt
You can’t perform that action at this time.
0 commit comments