mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-07 02:41:33 +00:00
languages/python: add formatting option for ruff check --fix
This commit is contained in:
parent
d36996c8ba
commit
8a6afa18ff
2 changed files with 24 additions and 0 deletions
|
@ -149,6 +149,16 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
ruff-check = {
|
||||
package = pkgs.writeShellApplication {
|
||||
name = "ruff-check";
|
||||
runtimeInputs = [pkgs.ruff];
|
||||
text = ''
|
||||
ruff check --fix --exit-zero -
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
defaultDebugger = "debugpy";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue