Skip to content

unicef/unicef-security

Repository files navigation

UNICEF-Security

Coverage Development Coverage Stable Issue tracker

Installation

pip install unicef-security

Setup

Add unicef_security to INSTALLED_APPS in settings:

INSTALLED_APPS = [
    'admin_extra_urls',
    'unicef_security',
]

Contributing

Environment Setup

To configure the development environment:

$ python manage.py upgrade --all

Coding Standards

To run checks on the code to ensure code is in compliance:

$ ruff check
$ ruff format

Testing

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:

$ pytest --cov=unicef_security --cov-report=html