diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 1f830b1..7ef7d02 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,11 +1,11 @@ FROM mcr.microsoft.com/devcontainers/base:jammy -# FROM mcr.microsoft.com/devcontainers/base:jammy +# FROM mcr.microsoft.com/devcontainers/base:jammy ARG DEBIAN_FRONTEND=noninteractive ARG USER=vscode RUN DEBIAN_FRONTEND=noninteractive \ - && apt-get update \ + && apt-get update \ && apt-get install -y build-essential --no-install-recommends make \ ca-certificates \ git \ @@ -23,7 +23,8 @@ RUN DEBIAN_FRONTEND=noninteractive \ libxml2-dev \ libxmlsec1-dev \ libffi-dev \ - liblzma-dev + liblzma-dev \ + && rm -rf /var/lib/apt/lists/* # Python and poetry installation USER $USER @@ -42,4 +43,4 @@ RUN echo "done 0" \ && pyenv global ${PYTHON_VERSION} \ && echo "done 3" \ && curl -sSL https://install.python-poetry.org | python3 - \ - && poetry config virtualenvs.in-project true \ No newline at end of file + && poetry config virtualenvs.in-project true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03faef2..b861ff2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,7 +11,6 @@ repos: - id: double-quote-string-fixer - id: name-tests-test - id: requirements-txt-fixer - - id: pretty-format-json - id: check-toml - id: check-merge-conflict - id: double-quote-string-fixer @@ -25,7 +24,7 @@ repos: - id: black language_version: python3.9 - repo: https://github.com/iamthefij/docker-pre-commit - rev: master + rev: v3.0.1 hooks: - id: docker-compose-check - repo: https://github.com/pryorda/dockerfilelint-precommit-hooks