Skip to content

Commit d62fdba

Browse files
committed
Updated README and tox config.
1 parent 76e9e67 commit d62fdba

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ domdf_python_tools
1717
* - Docs
1818
- |docs| |docs_check|
1919
* - Tests
20-
- |travis| |actions_windows| |actions_macos| |coveralls| |codefactor|
20+
- |travis| |actions_windows| |actions_macos| |coveralls| |codefactor| |pre_commit_ci|
2121
* - PyPI
2222
- |pypi-version| |supported-versions| |supported-implementations| |wheel|
2323
* - Anaconda
@@ -105,6 +105,10 @@ domdf_python_tools
105105
:target: https://github.com/pre-commit/pre-commit
106106
:alt: pre-commit
107107

108+
.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/domdf_python_tools/master.svg
109+
:target: https://results.pre-commit.ci/latest/github/domdfcoding/domdf_python_tools/master
110+
:alt: pre-commit.ci status
111+
108112
.. end shields
109113
110114

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ deps =
9696
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
9797
git+https://github.com/domdfcoding/flake8-quotes.git
9898
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
99-
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
99+
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@cli
100100
pygments>=2.7.1
101-
commands = flake8 domdf_python_tools tests --format=rst-toolbox
101+
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox
102102

103103
[testenv:yapf]
104104
basepython = python3.7

0 commit comments

Comments
 (0)