add more settings
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"vscode-icons-team.vscode-icons",
|
||||||
|
"charliermarsh.ruff",
|
||||||
|
"astral-sh.ty"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
theme = Terminal Basic Dark
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
# GTK only.
|
# GTK only.
|
||||||
# Available since 1.3.0.
|
# Available since 1.3.0.
|
||||||
language = en
|
language =
|
||||||
|
|
||||||
# The font families to use.
|
# The font families to use.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -0,0 +1,65 @@
|
|||||||
|
# https://github.com/astral-sh/ruff/blob/main/docs/configuration.md#shell-autocompletion
|
||||||
|
|
||||||
|
cache-dir = "~/.cache/ruff"
|
||||||
|
indent-width = 4
|
||||||
|
line-length = 128
|
||||||
|
target-version = "py314"
|
||||||
|
|
||||||
|
# Exclude a variety of commonly ignored directories.
|
||||||
|
exclude = [
|
||||||
|
"__pypackages__",
|
||||||
|
"_build",
|
||||||
|
".bzr",
|
||||||
|
".direnv",
|
||||||
|
".eggs",
|
||||||
|
".git-rewrite",
|
||||||
|
".git",
|
||||||
|
".hg",
|
||||||
|
".ipynb_checkpoints",
|
||||||
|
".mypy_cache",
|
||||||
|
".nox",
|
||||||
|
".pants.d",
|
||||||
|
".pyenv",
|
||||||
|
".pytest_cache",
|
||||||
|
".pytype",
|
||||||
|
".ruff_cache",
|
||||||
|
".svn",
|
||||||
|
".tox",
|
||||||
|
".venv",
|
||||||
|
".vscode",
|
||||||
|
"buck-out",
|
||||||
|
"build",
|
||||||
|
"dist",
|
||||||
|
"node_modules",
|
||||||
|
"site-packages",
|
||||||
|
"venv",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
[lint]
|
||||||
|
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
||||||
|
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
||||||
|
# McCabe complexity (`C901`) by default.
|
||||||
|
select = ["E4", "E7", "E9", "F", "TC", "FAST", "TD", "I"]
|
||||||
|
ignore = []
|
||||||
|
|
||||||
|
# Allow fix for all enabled rules (when `--fix`) is provided.
|
||||||
|
fixable = ["ALL"]
|
||||||
|
unfixable = []
|
||||||
|
|
||||||
|
[format]
|
||||||
|
# Like Black, use double quotes for strings.
|
||||||
|
quote-style = "double"
|
||||||
|
|
||||||
|
# Like Black, indent with spaces, rather than tabs.
|
||||||
|
indent-style = "space"
|
||||||
|
|
||||||
|
# Like Black, respect magic trailing commas.
|
||||||
|
skip-magic-trailing-comma = false
|
||||||
|
|
||||||
|
[lint.isort]
|
||||||
|
case-sensitive = true
|
||||||
|
combine-as-imports = true
|
||||||
|
force-single-line = true
|
||||||
|
force-sort-within-sections = true
|
||||||
|
lines-after-imports = 1
|
||||||
@@ -53,4 +53,8 @@
|
|||||||
"git.blame.editorDecoration.enabled": true,
|
"git.blame.editorDecoration.enabled": true,
|
||||||
"git.blame.editorDecoration.template": "${subject}, ${authorName} (${authorDateAgo})",
|
"git.blame.editorDecoration.template": "${subject}, ${authorName} (${authorDateAgo})",
|
||||||
"git.blame.statusBarItem.enabled": true,
|
"git.blame.statusBarItem.enabled": true,
|
||||||
|
"diffEditor.ignoreTrimWhitespace": false,
|
||||||
|
"editor.renderWhitespace": "all",
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
|
"files.trimFinalNewlines": true
|
||||||
}
|
}
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
../../../../vscode-server/.vscode-server/data/Machine/settings.json
|
||||||
Reference in New Issue
Block a user