Files
amap/backend
Julien Aldon c27c7598b5 fix tests
2026-03-06 11:26:02 +01:00
..
2026-03-03 11:08:08 +01:00
2026-03-06 11:26:02 +01:00
2026-03-06 11:26:02 +01:00
2026-02-19 23:38:26 +01:00
2026-02-20 01:48:34 +01:00
2026-02-09 17:39:09 +01:00
2026-03-05 20:58:00 +01:00
2026-03-03 11:08:08 +01:00
2026-03-03 11:08:08 +01:00

backend

PyPI - Version PyPI - Python Version


Table of Contents

Installation

apt install weasyprint
hatch shell
fastapi dev src/main.py

Migration

This repository use alembic for migrations

Create migration

alembic revision --autogenerate -m "message"

Apply migration

alembic upgrade head

Tests

hatch run pytest
hatch run pytest --cov=src -vv

Autoformat

find -type f -name '*.py' ! -path 'alembic/*'  -exec autopep8 --in-place --aggressive --aggressive '{}' \;
pylint -d R0801,R0903,W0511,W0603,C0103,R0902 .

License

backend is distributed under the terms of the MIT license.