Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 720d0e3

Browse files
committed
2 parents 7ab4712 + 04e5a80 commit 720d0e3

File tree

14 files changed

+37
-19
lines changed

14 files changed

+37
-19
lines changed

containers/python-2/.devcontainer/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ FROM python:2
88
# Copy endpoint specific user settings overrides into container to specify Python path
99
COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/Machine/settings.json
1010

11-
RUN pip install pylint
12-
1311
# Install git, process tools
1412
RUN apt-get update && apt-get -y install git procps
1513

14+
RUN mkdir /workspace
15+
WORKDIR /workspace
16+
17+
# Install pylint
18+
RUN pip install pylint
19+
1620
# Install Python dependencies from requirements.txt if it exists
1721
COPY .devcontainer/requirements.txt.temp requirements.txt* /workspace/
1822
RUN if [ -f "requirements.txt" ]; then pip install -r requirements.txt && rm requirements.txt*; fi

containers/python-2/.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"dockerFile": "Dockerfile",
55
"workspaceFolder": "/workspace",
66
"extensions": [
7-
"ms-python.python",
8-
"VisualStudioExptTeam.vscodeintellicode"
7+
"ms-python.python"
98
]
109
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"python.pythonPath": "/usr/local/bin/python"
2+
"python.pythonPath": "/usr/local/bin/python",
3+
"python.linting.pylintEnabled": true,
4+
"python.linting.enabled": true
35
}

containers/python-3-anaconda/.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"appPort": "5000:5000",
66
"workspaceFolder": "/workspace",
77
"extensions": [
8-
"ms-python.python",
9-
"VisualStudioExptTeam.vscodeintellicode"
8+
"ms-python.python"
109
]
1110
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"python.pythonPath": "/opt/conda/bin/python"
2+
"python.pythonPath": "/opt/conda/bin/python",
3+
"python.linting.pylintEnabled": true,
4+
"python.linting.enabled": true
35
}

containers/python-3-miniconda/.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ RUN apt-get update && apt-get -y install git procps
1414
RUN mkdir /workspace
1515
WORKDIR /workspace
1616

17+
# Install pylint
18+
RUN pip install pylint
19+
1720
# Install Python dependencies from requirements.txt if it exists
1821
COPY .devcontainer/environment.yml.temp environment.yml* /workspace/
1922
RUN if [ -f "environment.yml" ]; then conda env update base -f environment.yml && rm environment.yml*; fi

containers/python-3-miniconda/.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"dockerFile": "Dockerfile",
55
"workspaceFolder": "/workspace",
66
"extensions": [
7-
"ms-python.python",
8-
"VisualStudioExptTeam.vscodeintellicode"
7+
"ms-python.python"
98
]
109
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"python.pythonPath": "/opt/conda/bin/python"
2+
"python.pythonPath": "/opt/conda/bin/python",
3+
"python.linting.pylintEnabled": true,
4+
"python.linting.enabled": true
35
}

containers/python-3-postgres/.devcontainer/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/Machine/settin
1010

1111
ENV PYTHONUNBUFFERED 1
1212

13+
# Install git, process tools
14+
RUN apt-get update && apt-get -y install git procps
15+
1316
RUN mkdir /workspace
1417
WORKDIR /workspace
1518

16-
# Install git, process tools
17-
RUN apt-get update && apt-get -y install git procps
19+
# Install pylint
20+
RUN pip install pylint
1821

1922
# Install Python dependencies from requirements.txt if it exists
2023
COPY .devcontainer/requirements.txt.temp requirements.txt* /workspace/

containers/python-3-postgres/.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"service": "app",
55
"workspaceFolder": "/workspace",
66
"extensions": [
7-
"ms-python.python",
8-
"VisualStudioExptTeam.vscodeintellicode"
7+
"ms-python.python"
98
]
109
}

0 commit comments

Comments
 (0)