Document contributor conventions and add Gitea CI
This commit is contained in:
1 parent
d7314fa927
commit
751d5b16a9
5 files changed
+139
No files matched your search
@@ -712,9 +712,15 @@ database and rerun `python manage.py migrate`. Set `COULOBRE_DB_HOST` and
|
||||
|
||||
## Checks
|
||||
|
||||
Install the `dev` extra and set `COULOBRE_SECRET_KEY` as described above.
|
||||
Use `ruff check --fix .` to apply safe lint fixes and `ruff format .` to
|
||||
format Python. Install the `zstd` command to exercise compressed backup
|
||||
fixtures. Then run the checks from the repository root.
|
||||
|
||||
```sh
|
||||
ruff check .
|
||||
ruff format --check .
|
||||
sh -n tests/web-node/smoke.sh
|
||||
python manage.py check
|
||||
python manage.py makemigrations --check --dry-run
|
||||
python manage.py test coulobre
|
||||
|
||||
Reference in new issue
Block a user