diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..b9fccde --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "vscode-icons-team.vscode-icons", + "charliermarsh.ruff", + "astral-sh.ty" + ] +} \ No newline at end of file diff --git a/ghostty/.config/ghostty/auto/theme.ghostty b/ghostty/.config/ghostty/auto/theme.ghostty new file mode 100644 index 0000000..f435f16 --- /dev/null +++ b/ghostty/.config/ghostty/auto/theme.ghostty @@ -0,0 +1 @@ +theme = Terminal Basic Dark diff --git a/ghostty/.config/ghostty/config.ghostty b/ghostty/.config/ghostty/config.ghostty index a384ca8..1ff2312 100644 --- a/ghostty/.config/ghostty/config.ghostty +++ b/ghostty/.config/ghostty/config.ghostty @@ -16,7 +16,7 @@ # # GTK only. # Available since 1.3.0. -language = en +language = # The font families to use. # diff --git a/python/.ruff.toml b/python/.ruff.toml new file mode 100644 index 0000000..268a7bd --- /dev/null +++ b/python/.ruff.toml @@ -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 \ No newline at end of file diff --git a/vscode-server/.vscode-server/data/Machine/settings.json b/vscode-server/.vscode-server/data/Machine/settings.json index 7be2e83..101ac03 100644 --- a/vscode-server/.vscode-server/data/Machine/settings.json +++ b/vscode-server/.vscode-server/data/Machine/settings.json @@ -53,4 +53,8 @@ "git.blame.editorDecoration.enabled": true, "git.blame.editorDecoration.template": "${subject}, ${authorName} (${authorDateAgo})", "git.blame.statusBarItem.enabled": true, + "diffEditor.ignoreTrimWhitespace": false, + "editor.renderWhitespace": "all", + "files.trimTrailingWhitespace": true, + "files.trimFinalNewlines": true } \ No newline at end of file diff --git a/vscode/.config/Code/User/settings.json b/vscode/.config/Code/User/settings.json new file mode 120000 index 0000000..eca07b9 --- /dev/null +++ b/vscode/.config/Code/User/settings.json @@ -0,0 +1 @@ +../../../../vscode-server/.vscode-server/data/Machine/settings.json \ No newline at end of file