pytest-mock/docs/contributing.rst

22 lines
525 B
ReStructuredText
Raw Normal View History

2022-07-15 08:47:42 +02:00
============
Contributing
============
Contributions are welcome! After cloning the repository, create a virtual env
and install ``pytest-mock`` in editable mode with ``dev`` extras:
.. code-block:: console
$ pip install --editable .[dev]
$ pre-commit install
Tests are run with ``tox``, you can run the baseline environments before submitting a PR:
.. code-block:: console
2023-07-05 14:29:02 +02:00
$ tox -e py38
2022-07-15 08:47:42 +02:00
Style checks and formatting are done automatically during commit courtesy of
`pre-commit <https://pre-commit.com>`_.