django-notifications/Makefile

41 lines
664 B
Makefile
Raw Normal View History

up:
2023-06-16 01:29:59 +00:00
docker-compose up --remove-orphans
2023-11-03 17:52:58 +00:00
tests:
2023-11-03 17:52:58 +00:00
tox run-parallel -p auto
test-latest:
tox run -e py3.11-django42
server:
poetry run python manage.py runserver 0.0.0.0:8000
2023-06-16 01:29:59 +00:00
run: server
2023-11-03 17:52:58 +00:00
migrations:
poetry run python notifications/manage.py makemigrations
2023-06-16 01:29:59 +00:00
migrate:
poetry run python manage.py migrate
shell:
poetry run python manage.py shell
2023-06-23 23:24:33 +00:00
2023-11-03 17:52:58 +00:00
isort:
poetry run pre-commit run --all-files isort
black:
poetry run pre-commit run --all-files black
2023-06-23 23:24:33 +00:00
pylint:
2023-11-03 17:52:58 +00:00
poetry run pre-commit run --all-files pylint
2023-06-23 23:24:33 +00:00
bandit:
2023-11-03 17:52:58 +00:00
poetry run pre-commit run --all-files bandit
mypy:
poetry run pre-commit run --all-files mypy
lint:
poetry run pre-commit run --all-files