Skip to content

Commit 745f1be

Browse files
committed
fix(nix): remove mypy from pre-commit hooks
The mypy hook fails in Nix sandbox during flake check because uv cannot discover Python installations in the isolated build environment. Mypy is still run in CI via the unified ci.yml workflow, so type checking is not lost. This change only affects the pre-commit hook.
1 parent 10a495f commit 745f1be

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

flake.nix

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@
5151
enable = true;
5252
package = config.treefmt.build.wrapper;
5353
};
54-
mypy = {
55-
enable = true;
56-
name = "mypy";
57-
entry = "${pkgs.uv}/bin/uv run mypy";
58-
files = "^stackone_ai/";
59-
language = "system";
60-
types = [ "python" ];
61-
};
6254
};
6355

6456
devShells.default = pkgs.mkShell {

0 commit comments

Comments
 (0)