Skip to content

Commit 2b7f0e3

Browse files
committed
feat: python switch to dockerfile
1 parent caec0c0 commit 2b7f0e3

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

src/python/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requ
1919

2020
# [Optional] Uncomment this section to install additional OS packages.
2121
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
22-
&& apt-get -y install --no-install-recommends nodejs npm \
22+
&& apt-get -y install --no-install-recommends nodejs npm vim \
2323
&& rm -rf /var/lib/apt/lists/*
2424

2525
# [Optional] Uncomment this line to install global node packages.
26-
RUN npm install -g husky
26+
RUN npm install -g husky markdownlint

src/python/.devcontainer/devcontainer.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
{
22
"dockerFile": "Dockerfile",
33
"features": {
4-
"ghcr.io/devcontainers-contrib/features/black:2": {},
5-
"ghcr.io/devcontainers-contrib/features/cz-cli:1": {},
6-
"ghcr.io/devcontainers-contrib/features/flake8:2": {},
7-
"ghcr.io/devcontainers-contrib/features/isort:2": {},
84
"ghcr.io/devcontainers-contrib/features/markdownlint-cli:1": {},
9-
"ghcr.io/devcontainers-contrib/features/mypy:2": {},
10-
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {},
11-
"ghcr.io/devcontainers-contrib/features/pyinfra:2": {},
12-
"ghcr.io/devcontainers-contrib/features/pylint:2": {},
13-
"ghcr.io/devcontainers-contrib/features/ruff:1": {},
14-
"ghcr.io/devcontainers-contrib/features/twine:2": {},
15-
"ghcr.io/devcontainers-contrib/features/vulture:2": {},
16-
"ghcr.io/devcontainers-contrib/features/yamllint:2": {},
17-
"ghcr.io/guiyomh/features/vim": {}
185
},
196
// Configure tool-specific properties.
207
"customizations": {
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
black==24.4.2
22
commitizen==3.27.0
3+
isort==5.13.2
34
pre-commit==2.21.0
45
requests==2.32.2
5-
ruff==0.4.7
6+
ruff==0.4.7
7+
twine==5.1.0
8+
vulture=2.11
9+
yamllint=1.35.1

0 commit comments

Comments
 (0)