Skip to content

sqruff always changes the SQL files mtime, yielding a nix fmt -- --ci #400

@wucke13

Description

@wucke13

Describe the bug

sqruff always changes the SQL files mtime, yielding a failed nix fmt -- --ci.

To Reproduce

Format a file using sqruff. Run nix fmt -- --ci --verbose, to see that the file is reported as changed, despit git diff showing nothing. The only difference is the mtime.

Expected behavior

Ignore that the files mtime changed, as the file remains identical.

System information

NixOS 25.05

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions