feat(dev): standarize Python development stack and IDE integration
- Update `apps.nix` with code development utilities: `postgresql` (and `pgcli`), `httpie`, `bruno`, `ruff`, and `mypy`. - Configure Zed editor to utilize `ruff` as the primary Python language server and code formatter - Register essential LSPs in `graphical.nix` to ensure environment-wide availability.
This commit is contained in:
1 parent
1400b8a9a0
commit
dad78546f0
3 files changed
+29
No files matched your search
@@ -15,12 +15,22 @@
|
||||
# Cloud CLI, Database Management & Archive tools
|
||||
google-cloud-sdk # GCP administration utilities
|
||||
turso-cli # Management interface for Turso libSQL cloud databases
|
||||
postgresql # PostgreSQL client utilities (psql, pg_dump)
|
||||
pgcli # Command-line client for Postgres with auto-completion
|
||||
wget # Standard network file downloader
|
||||
zip # File archiving utility
|
||||
unzip # Extraction utility for .zip files
|
||||
rsync # Efficient incremental file transfer tool
|
||||
aria2 # High-speed multi-protocol download utility
|
||||
|
||||
# API Testing & Development
|
||||
httpie # CLI alternative to curl for REST APIs
|
||||
bruno # Open-source git-friendly GUI REST client
|
||||
|
||||
# Python Tooling
|
||||
ruff # Extremely fast Python linter and formatter
|
||||
mypy # Static type checker for Python
|
||||
|
||||
# Secrets Management
|
||||
rbw # Unofficial command line client for Bitwarden
|
||||
];
|
||||
|
||||
@@ -53,6 +53,11 @@
|
||||
"path_lookup": true
|
||||
}
|
||||
},
|
||||
"ruff": {
|
||||
"binary": {
|
||||
"path_lookup": true
|
||||
}
|
||||
},
|
||||
"basedpyright": {
|
||||
"binary": {
|
||||
"path_lookup": true
|
||||
@@ -83,5 +88,18 @@
|
||||
"path_lookup": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"languages": {
|
||||
"Python": {
|
||||
"language_servers": [
|
||||
"pyright",
|
||||
"ruff"
|
||||
],
|
||||
"formatter": {
|
||||
"language_server": {
|
||||
"name": "ruff"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@
|
||||
# Language Servers for Zed (and general dev use)
|
||||
rust-analyzer
|
||||
pyright
|
||||
ruff
|
||||
nil
|
||||
nixd
|
||||
jdt-language-server
|
||||
|
||||
Reference in new issue
Block a user