Skip to content

Commit c766c6c

Browse files
committed
Updated devcontainer config to latest spec and black precommit to py3.11
1 parent 5614e92 commit c766c6c

File tree

3 files changed

+21
-17
lines changed

3 files changed

+21
-17
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/vscode/devcontainers/go:1.18
1+
FROM mcr.microsoft.com/devcontainers/go:1.18
22
ENV EDITOR=vim
33

44
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && \

.devcontainer/devcontainer.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
{
22
"build": {
3-
"dockerfile": "Dockerfile",
3+
"dockerfile": "Dockerfile"
44
},
5-
"extensions": [
6-
"eamodio.gitlens",
7-
"golang.Go",
8-
"ms-python.python",
9-
"ms-python.vscode-pylance",
10-
"GitHub.copilot",
11-
"mutantdino.resourcemonitor"
12-
],
13-
"settings": {
14-
"resmon.show.battery": false,
15-
"resmon.show.cpufreq": false
5+
"customizations": {
6+
"vscode": {
7+
"extensions": [
8+
"eamodio.gitlens",
9+
"golang.Go",
10+
"ms-python.python",
11+
"ms-python.vscode-pylance",
12+
"GitHub.copilot",
13+
"mutantdino.resourcemonitor"
14+
],
15+
"settings": {
16+
"resmon.show.battery": false,
17+
"resmon.show.cpufreq": false
18+
}
19+
}
1620
},
1721
"mounts": [
18-
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.aws/,target=/root/.aws,type=bind,consistency=cached"
22+
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.aws/,target=/home/vscode/.aws,type=bind,consistency=cached"
1923
],
2024
"remoteEnv": {
2125
"AWS_DEFAULT_REGION": "ap-southeast-2",
2226
"AWS_PROFILE": "sktansandbox",
2327
"CODEARTIFACT_DOMAIN": "sktansandbox",
24-
"CODEARTIFACT_REPO": "sandbox",
28+
"CODEARTIFACT_REPO": "sandbox"
2529
},
2630
"features": {
2731
// Used build and deploy docker containers
@@ -33,7 +37,7 @@
3337
"aws-cli": "latest",
3438
// Testing out the proxy mechanism and for deploying via CDK
3539
"python": {
36-
"version": "lts",
40+
"version": "lts"
3741
},
3842
"node": {
3943
"version": "lts",

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ repos:
1111
rev: 22.3.0
1212
hooks:
1313
- id: black
14-
language_version: python3.10
14+
language_version: python3.11

0 commit comments

Comments
 (0)