Repository navigation
VSCodium Python: ty and ruff from Nix, the org standard - #50
Merged
Merged
Conversation
languages.python installed basedpyright, which disagrees with the ty type check CI runs (checks.python-ty) and doubles up with ty in org repos whose .vscode/ recommends it. It now matches the uv2nix skill and the pkgs template: ty (astral-sh.ty) is the language server, ty and ruff run the org nixpkgs binaries (the versions treefmt and CI use), ruff applies safe fixes on save, pytest is the test runner, the terminal is never activated, and Even Better TOML validates pyproject.toml. A repo's .vscode/settings.json still points them at its .devenv/profile. nixd's user-wide nixpkgs gets the org overlay when the flake has an org-pkgs input, as the template's does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andrewthomaslee
enabled auto-merge (squash)
November 14, 2026 21:57
andrewthomaslee
added a commit
to external-systems/skills
that referenced
this pull request
Nov 14, 2026
homeModules.vscodium's languages.python now follows the org standard (external-systems/modules#50): ty and ruff from the org nixpkgs, no basedpyright. toolchain.md documents the user level next to the repo .vscode/, why there is no uv extension, Even Better TOML for pyproject.toml, and removing a hand-installed basedpyright. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
andrewthomaslee
added a commit
that referenced
this pull request
Nov 14, 2026
Picks up external-systems/skills#22, which documents the VSCodium Python defaults from #50. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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 characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
homeSpec.programs.vscodium.languages.pythonnow follows the org Python standard (uv2nix skill, pkgs template.vscode/) instead of basedpyright.These are user-wide fallbacks. An org repo's
.vscode/settings.jsonstill wins and points ty, ruff and the interpreter at.devenv/profile.Evidence
detachhead.basedpyrightwith no ty; ruff ran the extension's bundled binary; nixd's user-level nixpkgs had no org packages.After (home's
kamrui-h1evaluated with--override-input modules path:…):ms-python-python-2026.4.0, ms-python-debugpy-2026.6.0, astral-sh-ty-2026.90.0, charliermarsh-ruff-2026.94.0, tamasfe-even-better-toml-0.21.2ruff.path→ruff-0.17.2,ty.path→ty-0.0.91(the org nixpkgs, same as CI)home-manager.users.netsa.home-filesbuildspkgs.moscripts; a flake withoutorg-pkgs(pkgs) falls back to plain nixpkgsfmt: clean.check: all checks passed (one existingstdenv.isDarwindeprecation warning, not a deny).Merge Danger
Door: two-way
Blast Radius: editor
Only VSCodium users with
languages.python.enableare affected (netsa; matt if enabled) once home bumpsmodules. WithmutableExtensions = true, an Open VSX copy of basedpyright installed by hand stays until the user uninstalls it.Merge order: this PR, then the skills docs PR, then home (
nix flake update modules).🤖 Generated with Claude Code