+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| Menu | Link |
+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| Coverage Development | |
| Coverage Stable |
|
| Issue tracker | https://github.com/unicef/hope-api-auth/issues |
+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
pip install hope-api-auth
Add hope_api_auth
to INSTALLED_APPS
in settings
INSTALLED_APPS = [
'hope_api_auth',
]
To run checks on the code to ensure code is in compliance
$ ruff check
$ ruff format
Testing is important and tests are located in tests/
directory and can be run with;
$ uv run pytest test
Coverage report is viewable in build/coverage
directory, and can be generated with;