clan-cli: Add ruff to devShell again. Add missing type annotations

This commit is contained in:
Qubasa
2025-01-29 19:16:34 +07:00
parent 6e47f1ee96
commit 4a144e77a4
4 changed files with 7 additions and 5 deletions

View File

@@ -14,11 +14,11 @@ mkShell {
ps:
with ps;
[
ruff
mypy
]
++ (clan-cli.devshellPyDeps ps)
))
ruff
nix-unit
] ++ clan-cli.runtimeDependencies;
@@ -33,6 +33,8 @@ mkShell {
export PKG_ROOT="$GIT_ROOT/pkgs/clan-cli"
export PYTHONWARNINGS=error
export CLAN_CORE_PATH="$GIT_ROOT"
# Add current package to PYTHONPATH
export PYTHONPATH="$PKG_ROOT''${PYTHONPATH:+:$PYTHONPATH:}"