chore: ensure TOML configuration files are formatted well
This commit is contained in:
parent
3671e1d866
commit
b6f8f825e0
8
.vscode/extensions.json
vendored
Normal file
8
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"tamasfe.even-better-toml",
|
||||||
|
"ms-python.black-formatter",
|
||||||
|
"ms-python.isort"
|
||||||
|
],
|
||||||
|
"unwantedRecommendations": []
|
||||||
|
}
|
17
.vscode/settings.json
vendored
Normal file
17
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"[python]": {
|
||||||
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.organizeImports": "always"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"[toml]": {
|
||||||
|
"editor.defaultFormatter": "tamasfe.even-better-toml",
|
||||||
|
},
|
||||||
|
"pre-commit-helper.runOnSave": "none",
|
||||||
|
"pre-commit-helper.config": ".pre-commit-config.yaml",
|
||||||
|
"evenBetterToml.schema.enabled": true,
|
||||||
|
"evenBetterToml.schema.associations": {
|
||||||
|
"^.+config[/\\\\].+\\.toml$": "../config/schema.config.json"
|
||||||
|
}
|
||||||
|
}
|
2
config/.gitignore
vendored
Normal file
2
config/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# prevent the local config file from being uploaded to the remote repository
|
||||||
|
config.toml
|
Loading…
x
Reference in New Issue
Block a user