Skip to content

Commit

Permalink
How To check code style and typing
Browse files Browse the repository at this point in the history
  • Loading branch information
cvzi committed Sep 12, 2024
1 parent fc30895 commit 8dc09b7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,23 @@ with `BeautifulSoup <http://www.crummy.com/software/BeautifulSoup/>`__
and prints the contents to ``stdout`` as a Python dictionary. For more
information take a look in the `utils/README.md <utils/README.md>`__ file.

Check the code style with:

.. code-block:: console
$ python -m pip install ruff
$ ruff check emoji
Test the type checks with:

.. code-block:: console
$ python -m pip install pyright mypy typeguard
$ pyright emoji
$ pyright tests
$ mypy emoji
$ pytest --typeguard-packages=emoji
Links
-----
Expand Down

0 comments on commit 8dc09b7

Please sign in to comment.