Skip to content

Commit

Permalink
Save vscode configuration (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Oct 27, 2022
1 parent 08a8989 commit 65a3d41
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -15,6 +15,8 @@ default_language_version:
python: python3.9
exclude: >
(?x)^(
.vscode/extensions.json|
.vscode/settings.json|
examples/broken/yaml-with-tabs/invalid-due-tabs.yaml
)$
repos:
Expand Down
11 changes: 10 additions & 1 deletion .vscode/extensions.json
@@ -1,9 +1,18 @@
// spell-checker:ignore esbenp
{
"recommendations": [
"ExecutableBookProject.myst-highlight",
"Tyriar.sort-lines",
"esbenp.prettier-vscode",
"hbenl.vscode-test-explorer",
"ms-python.isort",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-vscode.live-server",
"redhat.ansible",
"redhat.vscode-yaml",
"shardulm94.trailing-spaces",
"tamasfe.even-better-toml",
"timonwong.shellcheck",
"znck.grammarly",
]
}
37 changes: 37 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,37 @@
{
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"evenBetterToml.formatter.allowedBlankLines": 2,
"files.exclude": {
"*.egg-info": true,
".pytest_cache": true,
".tox": true,
"__pycache__": true
},
"git.ignoreLimitWarning": true,
"grammarly.domain": "technical",
"grammarly.files.include": [
"**/*.txt",
"**/*.md"
],
"grammarly.hideUnavailablePremiumAlerts": true,
"grammarly.showExamples": true,
"python.formatting.provider": "black",
"python.linting.flake8Enabled": true,
"python.linting.mypyCategorySeverity.error": "Warning",
"python.linting.mypyEnabled": true,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"restructuredtext.confPath": "${workspaceFolder}/docs/docsite/rst",
"restructuredtext.languageServer.disabled": true,
"sortLines.filterBlankLines": true,
"yaml.completion": true,
"yaml.customTags": [
"!encrypted/pkcs1-oaep scalar",
"!vault scalar"
],
"yaml.format.enable": false,
"yaml.validate": true
}

0 comments on commit 65a3d41

Please sign in to comment.