Skip to content

Commit a981497

Browse files
authored
Merge pull request #78 from blooop/feature/remove_black_extension
remove black as the default formatter, use ruff instead
2 parents da20524 + 112e6f6 commit a981497

File tree

4 files changed

+130
-132
lines changed

4 files changed

+130
-132
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"ms-python.python",
1111
"ms-python.vscode-pylance",
1212
"ms-python.pylint",
13-
"ms-python.black-formatter",
1413
"njpwerner.autodocstring",
1514
"charliermarsh.ruff",
1615
"mhutchie.git-graph",
@@ -24,8 +23,10 @@
2423
},
2524
//docker in docker is included in the pixi devcontainer example, but disabling for the moment due to security issues
2625
// "features": {
27-
// "ghcr.io/devcontainers/features/docker-in-docker:2": {}
28-
// },
29-
"mounts": ["source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"],
30-
"postCreateCommand": "sudo chown vscode .pixi && pixi install"
26+
// "ghcr.io/devcontainers/features/docker-in-docker:2": {}
27+
// },
28+
"mounts": [
29+
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"
30+
],
31+
"postCreateCommand": "sudo chown vscode .pixi && pixi install"
3132
}

.vscode/extensions.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
"ms-python.python",
44
"ms-python.vscode-pylance",
55
"ms-python.pylint",
6-
"ms-python.black-formatter",
76
"njpwerner.autodocstring",
87
"charliermarsh.ruff",
98
"mhutchie.git-graph",
10-
"eamodio.gitlens",
119
"tamasfe.even-better-toml",
12-
"Codium.codium",
1310
"ms-azuretools.vscode-docker",
1411
"ryanluker.vscode-coverage-gutters",
1512
"jjjermiah.pixi-vscode"

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"python.testing.unittestEnabled": false,
44
"python.testing.pytestEnabled": true,
55
"[python]": {
6-
"editor.defaultFormatter": "ms-python.black-formatter",
6+
"editor.defaultFormatter": "charliermarsh.ruff",
77
"editor.formatOnSave": true,
88
},
99
"files.exclude": {

0 commit comments

Comments
 (0)