From 2553d6f9e606a1b292a20937e9205800dbe4725e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 16 Jan 2023 19:49:41 +0100 Subject: [PATCH] Definitively disable pre-commit hook --- Dockerfile | 2 +- Makefile | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 18230ef..c38232e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 283aee7..6f4257f 100644 --- a/Makefile +++ b/Makefile @@ -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=" "))'