Zulip Chat Archive

Stream: mathlib4

Topic: lint-style broken ?


Antoine Chambert-Loir (Aug 30 2024 at 17:37):

Tonight, lake exe lint-style --fix did not fix any of the stuff it detected.

Michael Rothgang (Aug 30 2024 at 18:00):

Can you be more specific? What kind of errors occurred?

Michael Rothgang (Aug 30 2024 at 18:01):

This linter knows how to automatically fix some errors, but not all of them.
Partially, this is by design (how would you fix a "long line" error in general? the right fix depends on the situation); for some, nobody has implemented an automatic fix yet.

Michael Rothgang (Aug 30 2024 at 18:01):

There were some recent changes to the linter, so it is possible something broke. Did you notice the same errors getting fixed previously?

Antoine Chambert-Loir (Aug 30 2024 at 18:32):

It's the trailing space error, lint-style used to fix them on the spot, but not today.


Last updated: May 02 2025 at 03:31 UTC