mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
[skip-ci] In .devcontainer/Dockerfile: pipx install pre-commit ruff (#8893)
[skip-ci] In .devcontainer/Dockerfile: pipx install pre-commit ruff
This commit is contained in:
parent
dbaff34572
commit
46454e204c
|
@ -3,4 +3,6 @@ ARG VARIANT=3.11-bookworm
|
||||||
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
|
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
|
||||||
COPY requirements.txt /tmp/pip-tmp/
|
COPY requirements.txt /tmp/pip-tmp/
|
||||||
RUN python3 -m pip install --upgrade pip \
|
RUN python3 -m pip install --upgrade pip \
|
||||||
&& python3 -m pip install --no-cache-dir install ruff -r /tmp/pip-tmp/requirements.txt
|
&& python3 -m pip install --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
|
||||||
|
&& pipx install pre-commit ruff \
|
||||||
|
&& pre-commit install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user