mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 18:54:30 +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) {
|
lib.optionalAttrs (inputs.treefmt-nix ? flakeModule) {
|
||||||
treefmt.config = {
|
treefmt.config = {
|
||||||
projectRootFile = "flake.nix";
|
projectRootFile = "flake.nix";
|
||||||
|
flakeCheck = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
isort.enable = true;
|
isort.enable = true;
|
||||||
|
@ -58,6 +59,9 @@
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (inputs.git-hooks ? flakeModule) {
|
// lib.optionalAttrs (inputs.git-hooks ? flakeModule) {
|
||||||
pre-commit = {
|
pre-commit = {
|
||||||
|
# We have a treefmt check already, so this is redundant.
|
||||||
|
check.enable = false;
|
||||||
|
|
||||||
settings.hooks = {
|
settings.hooks = {
|
||||||
treefmt.enable = true;
|
treefmt.enable = true;
|
||||||
typos.enable = true;
|
typos.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue