Coding standards

Developer Certificate of Origin

Before pushing code or content to the project’s repo, you have to check that you own the appropriate rights to publish it under the project’s licenses, and approve the terms of the Developer Certificate of Origin version 1.1. To do so, you have to sign-off your commits by adding the --signoff option to your git commit commands.

REUSE standard

We try to follow the REUSE standard. So if you add a new file, please add also the appropriate headers following the template:

# SPDX-FileCopyrightText: 2021 Hermine-team <hermine@inno3.fr>
# SPDX-License-Identifier: AGPL-3.0-only 

Code linting

We use Black for harmonising code formatting, Ruff for linting and DjHTML for indenting Django Templates.

Commit messages

It would be nice to try to follow the Conventional Commits standards