update nixpkgs, pre-commit-hooks
the devshell no longer worked for us due to the recent deprecations :D let's update pre-commit too because while it doesn't fail it does warn Change-Id: Ic2060c82e4e97bb7a96cebd29097abefabdfe733
This commit is contained in:
+3
-3
@@ -42,7 +42,7 @@ pre-commit-run {
|
||||
"file"
|
||||
];
|
||||
excludes = [
|
||||
''^lix/pch/.*$''
|
||||
"^lix/pch/.*$"
|
||||
''\.gen\.hh$''
|
||||
];
|
||||
pass_filenames = false; # this will automatically format everything in the stage area of Git.
|
||||
@@ -110,7 +110,7 @@ pre-commit-run {
|
||||
"header"
|
||||
];
|
||||
excludes = [
|
||||
''^lix/pch/.*$''
|
||||
"^lix/pch/.*$"
|
||||
# generated files; these will never actually be seen by this
|
||||
# check, and are left here as documentation
|
||||
''(parser|lexer)-tab\.hh$''
|
||||
@@ -130,7 +130,7 @@ pre-commit-run {
|
||||
enable = true;
|
||||
stages = [ "pre-commit" ];
|
||||
excludes = [
|
||||
''^tests/functional/lang/''
|
||||
"^tests/functional/lang/"
|
||||
"^tests/functional2/.+\\.exp"
|
||||
"^tests/functional2/.+\\.nix"
|
||||
''\.patch$''
|
||||
|
||||
Reference in New Issue
Block a user