From ac589abf5ef9ca2789c0a502e6951ccbc9493901 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Thu, 11 Apr 2024 14:53:05 +0200 Subject: [PATCH] chore: Add vscode configuration Add vscode configuration that allows to develop, test and debug the collection. Signed-off-by: Felix Matouschek --- .gitignore | 7 ++++++- .vscode/extensions.json | 8 ++++++++ .vscode/settings.json | 7 +++++++ galaxy.yml | 1 + 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 4cf02ec..10d32f0 100644 --- a/.gitignore +++ b/.gitignore @@ -130,7 +130,12 @@ dmypy.json # Pyre type checker .pyre/ -.vscode/ +# Allow specific vscode configuration +.vscode/* +!.vscode/extensions.json +!.vscode/settings.json + +# Local files .idea/ bin/ *.tar.gz diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..b9ffe4a --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "ms-python.python", + "ms-python.debugpy", + "ms-python.vscode-pylance", + "github.vscode-github-actions" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a3a1838 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true +} diff --git a/galaxy.yml b/galaxy.yml index fa54fde..c230928 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -26,6 +26,7 @@ build_ignore: - .git - .gitignore - .github + - .vscode - .yamllint - bin - changelogs