Skip to content

Commit 6f26c3f

Browse files
authored
Add pre-commit badge
1 parent e7b54dc commit 6f26c3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Besides undoing the mocking automatically after the end of the test, it also pro
2525
nice utilities such as ``spy`` and ``stub``, and uses pytest introspection when
2626
comparing calls.
2727

28-
|python| |version| |anaconda| |ci| |coverage| |black|
28+
|python| |version| |anaconda| |ci| |coverage| |black| |pre-commit|
2929

3030
.. |version| image:: http://img.shields.io/pypi/v/pytest-mock.svg
3131
:target: https://pypi.python.org/pypi/pytest-mock
@@ -45,6 +45,9 @@ comparing calls.
4545
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
4646
:target: https://github.com/ambv/black
4747

48+
.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest-mock/master.svg
49+
:target: https://results.pre-commit.ci/latest/github/pytest-dev/pytest-mock/master
50+
4851
`Professionally supported pytest-mock is now available <https://tidelift.com/subscription/pkg/pypi-pytest_mock?utm_source=pypi-pytest-mock&utm_medium=referral&utm_campaign=readme>`_
4952

5053
Usage

0 commit comments

Comments
 (0)