forked from SuperCoopBerlin/tapir
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (13 loc) · 684 Bytes
/
Makefile
File metadata and controls
17 lines (13 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
lint:
poetry run black .
check-formatting:
poetry run black --check .
test:
poetry run pytest --cov-report xml:coverage.xml --cov=tapir --cov-config=pyproject.toml
check-translations:
cp tapir/translations/locale/de/LC_MESSAGES/django.po tapir/translations/locale/de/LC_MESSAGES/django-old.po
cd tapir && poetry run python ../manage.py makemessages --no-wrap -l de
git diff --ignore-matching-lines=POT-Creation-Date --exit-code --no-index tapir/translations/locale/de/LC_MESSAGES/django.po tapir/translations/locale/de/LC_MESSAGES/django-old.po
rm tapir/translations/locale/de/LC_MESSAGES/django-old.po
check-migrations:
poetry run python manage.py makemigrations --check