From 73dcb46273e88509ae4fb872c979d2ab1144635d Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Mon, 2 Oct 2023 16:45:49 +0000 Subject: [PATCH] feat: pre-populate msic --- Dockerfile.dev | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index f681ea73..226c1034 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -10,7 +10,11 @@ RUN pip install .[dev] RUN pip install .[tests] # Setup dev env -RUN git init && pre-commit install +COPY tasks.py pyproject.toml ./ +RUN inv static-type-checks + +COPY .pre-commit-config.yaml ./ +RUN git init && pre-commit run RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') \ && curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" \