Skip to content

Commit

Permalink
chore: Add note for zsh and swap pytest for tox
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb authored and smithdc1 committed Nov 23, 2023
1 parent 2db92cc commit ba3306d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@ Make sure the tests pass:
.. code-block:: sh
python -m pip install -e .[tests]
pytest
tox
.. note::
If you're using ``zsh`` for your shell, the above command will fail with a
``zsh: no matches found: .[tests]`` error.
To fix this use ``noglob``::

noglob python -m pip install -e .[tests]

Make your change. Add tests for your change. Make the tests pass:

.. code-block:: sh
pytest
tox
Make sure your code conforms to the coding style:

Expand Down

0 comments on commit ba3306d

Please sign in to comment.