diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 543e5927..0855d1b1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,6 @@ // README at: https://github.com/devcontainers/templates/tree/main/src/python { "name": "Pycytominer Dev", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/python:0-3.11", // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "bash .devcontainer/postCreateCommand.sh", @@ -12,8 +11,11 @@ "vscode": { // Set *default* container specific settings.json values on container create. "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black" + "python.testing.pytestArgs": ["tests"], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true, + "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest", + "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python" }, // Add the IDs of extensions you want installed when the container is created. diff --git a/.gitignore b/.gitignore index 46681cef..0191f568 100644 --- a/.gitignore +++ b/.gitignore @@ -156,6 +156,9 @@ dmypy.json # Cython debug symbols cython_debug/ +# VSCode +.vscode/ + # PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index e5dd096c..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "python.testing.pytestArgs": ["tests"], - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true, - "python.testing.pytestPath": ".venv/bin/pytest", - "python.defaultInterpreterPath": ".venv/bin/python" -}