Skip to content

Commit d08e2c4

Browse files
committed
Revert "Fix spelling"
This reverts commit 0447659.
1 parent 0447659 commit d08e2c4

File tree

5 files changed

+10
-172
lines changed

5 files changed

+10
-172
lines changed

.devcontainer/Dockerfile.cli

Lines changed: 0 additions & 48 deletions
This file was deleted.

.devcontainer/Dockerfile.dev

Lines changed: 0 additions & 63 deletions
This file was deleted.

.devcontainer/Dockerfile.nox

Lines changed: 0 additions & 49 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/python
33
{
44
"build": {
5-
"dockerfile": "Dockerfile.dev",
5+
"dockerfile": "Dockerfile",
66
"context": ".."
77
},
88
// Use 'postCreateCommand' to run commands after the container is created.
99
"postCreateCommand": {
10-
// "post_create_script": "bash ./.devcontainer/post-install.sh"
10+
"post_create_script": "bash ./.devcontainer/post-install.sh"
1111
},
1212
// Forward 8787 to enable us to view dask dashboard
1313
"forwardPorts": [8787],
@@ -16,9 +16,8 @@
1616
// Configure properties specific to VS Code.
1717
"vscode": {
1818
"settings": {
19-
"python.testing.pytestArgs": ["tests"],
20-
"python.testing.unittestEnabled": false,
21-
"python.testing.pytestEnabled": true
19+
"python.terminal.activateEnvInCurrentTerminal": true,
20+
"python.defaultInterpreterPath": "/opt/venv/bin/python"
2221
},
2322
"extensions": [
2423
"ms-python.python",
@@ -28,18 +27,17 @@
2827
"ms-toolsai.jupyter-renderers",
2928
"vscode-icons-team.vscode-icons",
3029
"wayou.vscode-todo-highlight",
31-
"streetsidesoftware.code-spell-checker",
32-
"eamodio.gitlens",
33-
"visualstudioexptteam.vscodeintellicode"
30+
"streetsidesoftware.code-spell-checker"
3431
]
3532
}
3633
},
3734
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
3835
// "remoteUser": "root",
3936
"updateRemoteUserUID": true,
40-
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/mdio-python,type=bind",
41-
"workspaceFolder": "/workspaces/mdio-python",
4237
"mounts": [
43-
// "source=${localWorkspaceFolder}/../DATA/,target=/DATA/,type=bind,consistency=cached"
38+
// Re-use local Git configuration
39+
"source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig_tmp,type=bind,consistency=cached",
40+
"source=${localEnv:HOME}/.gitconfig,target=/root/.gitconfig_tmp,type=bind,consistency=cached",
41+
"source=${localEnv:SCRATCH_DIR}/${localEnv:USER},target=/scratch/,type=bind,consistency=cached"
4442
]
4543
}

tests/unit/v1/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _get_coordinate(
129129

130130

131131
def _get_all_coordinates(dataset: Dataset) -> list[Coordinate]:
132-
"""Get all Coordinates from the Dataset."""
132+
"""Get all coordinates from the dataset."""
133133
all_coords: dict[str, Coordinate] = {}
134134
for v in dataset.variables:
135135
if v.coordinates is not None:

0 commit comments

Comments
 (0)