Created
September 10, 2024 16:37
Revisions
-
gdamjan created this gist
Sep 10, 2024 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ [tool.ruff] line-length = 120 [tool.ruff.lint] extend-select = ["I"] [tool.pyright] venvPath = "." venv = ".venv" include = ["src"] This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ // ~/.config/zed/settings.json // Zed settings // // For information on how to configure Zed, see the Zed // documentation: https://zed.dev/docs/configuring-zed // // To see all of Zed's default settings without changing your // custom settings, run the `open default settings` command // from the command palette or from `Zed` application menu. { "ui_font_size": 16, "buffer_font_size": 16, "theme": { "mode": "system", "light": "One Light", "dark": "One Dark", }, "lsp": { "pyright": { "settings": { "python": { "pythonPath": ".venv/bin/python" } } } }, "languages": { "Python": { "language_servers": ["pyright", "ruff"], "format_on_save": "on", "formatter": [ { "code_actions": { "source.organizeImports.ruff": true, "source.fixAll.ruff": true } }, { "language_server": { "name": "ruff" } } ] } } }