We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e56ca3c commit 70396c3Copy full SHA for 70396c3
.pre-commit-config.yaml
@@ -0,0 +1,9 @@
1
+repos:
2
+- repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.11.8
4
+ hooks:
5
+ # Run the linter.
6
+ - id: ruff
7
+ args: [ --fix ]
8
+ # Run the formatter.
9
+ - id: ruff-format
flake.nix
@@ -22,7 +22,12 @@
22
python310 # Minimum supported python version in this project
23
uv
24
ruff
25
+ pre-commit
26
];
27
+
28
+ shellHook = ''
29
+ pre-commit install
30
+ '';
31
};
32
33
formatter = pkgs.nixfmt-rfc-style;
0 commit comments