Definitively disable pre-commit hook
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lukáš Kucharczyk 2023-01-16 19:49:41 +01:00
parent 8cf6270d8f
commit 2553d6f9e6
2 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@ RUN npm install && \
FROM python:3.10.9-slim-bullseye
ENV VERSION_NUMBER 0.2.3-7-g0b1089b
ENV VERSION_NUMBER 0.2.4
ENV PROD 1
ENV PYTHONUNBUFFERED=1

View File

@ -19,13 +19,13 @@ makemigrations:
migrate: makemigrations
poetry run python src/web/manage.py migrate
dev: migrate sethookdir
dev: migrate
poetry run python src/web/manage.py runserver
caddy:
caddy run --watch
dev-prod: migrate collectstatic sethookdir
dev-prod: migrate collectstatic
cd src/web/; PROD=1 poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker
dumptracker:
@ -52,9 +52,6 @@ poetry.lock: pyproject.toml
test: poetry.lock
poetry run pytest
sethookdir:
git config core.hooksPath .githooks
date:
poetry run python -c 'import datetime; from zoneinfo import ZoneInfo; print(datetime.datetime.isoformat(datetime.datetime.now(ZoneInfo("Europe/Prague")), timespec="minutes", sep=" "))'