You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As said - statix runs and fails on file ./bla/spago-packages.nix, eventhough it's excluded.
pass_filenames
Statix has the option pass_filenames set to false. Though to my understanding ignoring excludes is not the expected behaviour for any formatter. I've checked with some other formatter with pass_filenames=false (with rustfmt), and the excludes field had an effect.
Maybe spago-packages.nix is an import of some other not-excluded file?
No, not directly and statix doesn't analize imports for its contents.
Workaround
If you have this issue check the commented workaround in the nix snippet.
The text was updated successfully, but these errors were encountered:
Hey, I exclude a generated
.nix
file from the pre-commit checks, but neverthelessstatix
fails on that file.That's my simplified flakeParts module:
As said - statix runs and fails on file
./bla/spago-packages.nix
, eventhough it's excluded.pass_filenames
Statix has the option
pass_filenames
set to false. Though to my understanding ignoringexcludes
is not the expected behaviour for any formatter. I've checked with some other formatter withpass_filenames=false
(withrustfmt
), and theexcludes
field had an effect.Maybe
spago-packages.nix
is an import of some other not-excluded file?No, not directly and statix doesn't analize imports for its contents.
Workaround
If you have this issue check the commented workaround in the nix snippet.
The text was updated successfully, but these errors were encountered: