chore: Add vscode configuration

Add vscode configuration that allows to develop, test and debug the
collection.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-04-11 14:53:05 +02:00
parent 55a6acef5d
commit ac589abf5e
4 changed files with 22 additions and 1 deletions

7
.gitignore vendored
View File

@@ -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

8
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"recommendations": [
"ms-python.python",
"ms-python.debugpy",
"ms-python.vscode-pylance",
"github.vscode-github-actions"
]
}

7
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}

View File

@@ -26,6 +26,7 @@ build_ignore:
- .git
- .gitignore
- .github
- .vscode
- .yamllint
- bin
- changelogs