languages/python: add formatting option for ruff check --fix

This commit is contained in:
Valter Schütz 2025-08-10 13:48:37 +02:00
commit 8a6afa18ff
2 changed files with 24 additions and 0 deletions

View file

@ -149,6 +149,16 @@
'';
};
};
ruff-check = {
package = pkgs.writeShellApplication {
name = "ruff-check";
runtimeInputs = [pkgs.ruff];
text = ''
ruff check --fix --exit-zero -
'';
};
};
};
defaultDebugger = "debugpy";