11Development
22===========
33
4- To contribute to `pytest-metadata ` you can use `Poetry <https://python-poetry.org / >`_ to manage
4+ To contribute to `pytest-metadata ` you can use `Hatch <https://hatch.pypa.io/latest / >`_ to manage
55a python virtual environment and `pre-commit <https://pre-commit.com/ >`_ to help you with
66styling and formatting.
77
88To setup the virtual environment and pre-commit, run:
99
1010.. code-block :: bash
1111
12- $ poetry install
13- $ poetry run pre-commit install
12+ $ hatch -e test run pre-commit install
1413
15- If you're not using ``Poetry ``, to install ``pre-commit ``, run:
14+ If you're not using ``Hatch ``, to install ``pre-commit ``, run:
1615
1716.. code-block :: bash
1817
@@ -30,14 +29,14 @@ Running Tests
3029-------------
3130
3231You will need `Tox <https://tox.wiki/en/latest/ >`_ installed to run the tests
33- against the supported Python versions. If you're using ``Poetry `` it will be
32+ against the supported Python versions. If you're using ``Hatch `` it will be
3433installed for you.
3534
36- With ``Poetry ``, run:
35+ With ``Hatch ``, run:
3736
3837.. code-block :: bash
3938
40- $ poetry run tox
39+ $ hatch -e test run tox
4140
4241 Otherwise, to install and run, do:
4342
@@ -57,6 +56,6 @@ Follow these steps to release a new version of the project:
5756#. Commit and push the new branch and then create a new pull request
5857#. Wait for tests and reviews and then merge the branch
5958#. Once merged, update your local master again (``git pull --rebase upstream master ``)
60- #. Tag the release with the new release version (``git tag v <new tag> ``)
59+ #. Tag the release with the new release version (``git tag <new tag> ``)
6160#. Push the tag (``git push upstream --tags ``)
6261#. Done.
0 commit comments