Commit 8c927fb
committed
fix(nix): disable pre-commit check in flake check, keep mypy hook
Configure git-hooks to skip the check during 'nix flake check' because
mypy requires the Python environment which isn't available in the Nix
sandbox.
The mypy hook still works locally in 'nix develop' where the Python
environment is available. Mypy is also run in CI via ci.yml.
Changes:
- Set pre-commit.check.enable = false to skip flake check
- Keep mypy hook enabled for local development
- Treefmt check still runs in flake check1 parent 639beee commit 8c927fb
1 file changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
0 commit comments