22mozilla-django-oidc
33===================
44
5- .. image :: https://badge.fury .io/py/ mozilla-django-oidc.svg
6- :target: https://badge.fury.io/py /mozilla-django-oidc
5+ .. image :: https://img.shields .io/pypi/v/ mozilla-django-oidc
6+ :target: https://pypi.org/project /mozilla-django-oidc/
77
88.. image :: https://github.com/mozilla/mozilla-django-oidc/actions/workflows/unit_tests.yml/badge.svg?branch=main
99 :target: https://github.com/mozilla/mozilla-django-oidc/actions/workflows/unit_tests.yml
@@ -40,7 +40,7 @@ Running Unit Tests
4040
4141Use ``tox `` to run as many different versions of Python you have. If you
4242don't have ``tox `` installed (and executable) already you can either
43- install it in your system Python or ` <https://pypi.python.org/pypi/pipsi >`_.
43+ install it in your system Python or use ` pipx <https://pipx.pypa.io/ >`_.
4444Once installed, simply execute in the project root directory.
4545
4646.. code-block :: shell
@@ -49,7 +49,7 @@ Once installed, simply execute in the project root directory.
4949
5050 ``tox `` will do the equivalent of installing virtual environments for every
5151combination mentioned in the ``tox.ini `` file. If your system, for example,
52- doesn't have ``python3.4 `` those ``tox `` tests will be skipped.
52+ doesn't have ``python3.10 `` those ``tox `` tests will be skipped.
5353
5454For a faster test-rinse-repeat cycle you can run tests in a specific
5555environment with a specific version of Python and specific version of
@@ -75,7 +75,7 @@ Local development
7575The local development setup is based on Docker so you need the following installed in your system:
7676
7777* `docker `
78- * `docker- compose `
78+ * `docker compose `
7979
8080You will also need to edit your ``hosts `` file to resolve ``testrp `` and ``testprovider `` hostnames to ``127.0.0.1 ``.
8181
@@ -86,7 +86,7 @@ To run the `testrp` and `testprovider` instances run the following:
8686
8787.. code-block :: shell
8888
89- (venv) $ docker- compose up -d testprovider testrp
89+ (venv) $ docker compose up -d testprovider testrp
9090
9191 Then visit the testing django app on: ``http://testrp:8081 ``.
9292
@@ -95,8 +95,8 @@ In order to test a change you need to restart the ``testrp`` service.
9595
9696.. code-block :: shell
9797
98- (venv) $ docker- compose stop testrp
99- (venv) $ docker- compose up -d testrp
98+ (venv) $ docker compose stop testrp
99+ (venv) $ docker compose up -d testrp
100100
101101 Running integration tests
102102=========================
@@ -105,12 +105,12 @@ Integration tests are mounted as a volume to the docker containers. Tests can be
105105
106106.. code-block :: shell
107107
108- (venv) $ docker- compose run --service-ports testrunner
108+ (venv) $ docker compose run --service-ports testrunner
109109
110110 Linting
111111-------
112112
113- All code is checked with `<https://pypi.python. org/pypi /flake8 >`_ in
113+ All code is checked with `flake8 <https://pypi.org/project /flake8/ >`_ in
114114continuous integration. To make sure your code still passes all style guides
115115install ``flake8 `` and check:
116116
@@ -139,7 +139,7 @@ Finally you can use pre-commit hooks to run linting and formatting before you co
139139 Releasing a new version
140140------------------------
141141
142- ``mozilla-django-oidc `` releases are hosted in `PyPI <https://pypi.python. org/pypi /mozilla-django-oidc >`_.
142+ ``mozilla-django-oidc `` releases are hosted in `PyPI <https://pypi.org/project /mozilla-django-oidc/ >`_.
143143Here are the steps you need to follow in order to push a new release:
144144
145145* Make sure that ``HISTORY.rst `` is up-to-date focusing mostly on backwards incompatible changes.
@@ -181,7 +181,7 @@ Here are the steps you need to follow in order to push a new release:
181181
182182 git push origin 0.1.1
183183
184- The release is pushed automatically to PyPI using a travis deployment hook on every new tag.
184+ The release is published automatically to PyPI using GitHub Actions on every new tag.
185185
186186
187187License
@@ -198,5 +198,5 @@ Tools used in rendering this package:
198198* Cookiecutter _
199199* `cookiecutter-djangopackage `_
200200
201- .. _Cookiecutter : https://github.com/audreyr /cookiecutter
201+ .. _Cookiecutter : https://github.com/cookiecutter /cookiecutter
202202.. _`cookiecutter-djangopackage` : https://github.com/pydanny/cookiecutter-djangopackage
0 commit comments