mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
flake: remove pre-commit from checks
output
This commit is contained in:
parent
86a4021597
commit
5c929a161f
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
lib.optionalAttrs (inputs.treefmt-nix ? flakeModule) {
|
||||
treefmt.config = {
|
||||
projectRootFile = "flake.nix";
|
||||
flakeCheck = true;
|
||||
|
||||
programs = {
|
||||
isort.enable = true;
|
||||
|
@ -58,6 +59,9 @@
|
|||
}
|
||||
// lib.optionalAttrs (inputs.git-hooks ? flakeModule) {
|
||||
pre-commit = {
|
||||
# We have a treefmt check already, so this is redundant.
|
||||
check.enable = false;
|
||||
|
||||
settings.hooks = {
|
||||
treefmt.enable = true;
|
||||
typos.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue