Skip to content

Commit 65a3d41

Browse files
authored
Save vscode configuration (#2621)
1 parent 08a8989 commit 65a3d41

3 files changed

Lines changed: 49 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ default_language_version:
1515
python: python3.9
1616
exclude: >
1717
(?x)^(
18+
.vscode/extensions.json|
19+
.vscode/settings.json|
1820
examples/broken/yaml-with-tabs/invalid-due-tabs.yaml
1921
)$
2022
repos:

.vscode/extensions.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
// spell-checker:ignore esbenp
21
{
32
"recommendations": [
3+
"ExecutableBookProject.myst-highlight",
4+
"Tyriar.sort-lines",
45
"esbenp.prettier-vscode",
6+
"hbenl.vscode-test-explorer",
7+
"ms-python.isort",
58
"ms-python.python",
9+
"ms-python.vscode-pylance",
10+
"ms-vscode.live-server",
611
"redhat.ansible",
712
"redhat.vscode-yaml",
13+
"shardulm94.trailing-spaces",
14+
"tamasfe.even-better-toml",
15+
"timonwong.shellcheck",
16+
"znck.grammarly",
817
]
918
}

.vscode/settings.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"[markdown]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode"
4+
},
5+
"evenBetterToml.formatter.allowedBlankLines": 2,
6+
"files.exclude": {
7+
"*.egg-info": true,
8+
".pytest_cache": true,
9+
".tox": true,
10+
"__pycache__": true
11+
},
12+
"git.ignoreLimitWarning": true,
13+
"grammarly.domain": "technical",
14+
"grammarly.files.include": [
15+
"**/*.txt",
16+
"**/*.md"
17+
],
18+
"grammarly.hideUnavailablePremiumAlerts": true,
19+
"grammarly.showExamples": true,
20+
"python.formatting.provider": "black",
21+
"python.linting.flake8Enabled": true,
22+
"python.linting.mypyCategorySeverity.error": "Warning",
23+
"python.linting.mypyEnabled": true,
24+
"python.testing.nosetestsEnabled": false,
25+
"python.testing.pytestEnabled": true,
26+
"python.testing.unittestEnabled": false,
27+
"restructuredtext.confPath": "${workspaceFolder}/docs/docsite/rst",
28+
"restructuredtext.languageServer.disabled": true,
29+
"sortLines.filterBlankLines": true,
30+
"yaml.completion": true,
31+
"yaml.customTags": [
32+
"!encrypted/pkcs1-oaep scalar",
33+
"!vault scalar"
34+
],
35+
"yaml.format.enable": false,
36+
"yaml.validate": true
37+
}

0 commit comments

Comments
 (0)