Zulip Chat Archive

Stream: mathlib4

Topic: Order.LocallyFinite !4#1754


Ruben Van de Velde (Jan 25 2023 at 09:36):

Anyone who wants to write some docstrings for this?

Johan Commelin (Jan 25 2023 at 09:39):

If the linter complains, just nolint.

Johan Commelin (Jan 25 2023 at 09:39):

That shouldn't hold up the port.

Johan Commelin (Jan 25 2023 at 09:40):

But please leave a Porting note. So that we don't forget about those nolints.

Yaël Dillies (Jan 25 2023 at 10:07):

I wrote the original file. I can write the docstrings tonight if you want.

Ruben Van de Velde (Jan 25 2023 at 10:09):

I pushed some not-great ones, feel free to suggest improvements on the PR

Eric Wieser (Jan 25 2023 at 11:50):

Isn't the right thing to do here to copy across the nolints.txt from lean3?

Eric Wieser (Jan 25 2023 at 11:51):

Because otherwise we are responsible for fixing every lint errors during the port

Johan Commelin (Jan 25 2023 at 12:04):

Yes, we should do that. But I don't know how hard it is to make it work.

Ruben Van de Velde (Jan 25 2023 at 12:14):

In this case, it was faster to write up some comments than figure out how to apply nolint attributes to class fields

Eric Wieser (Jan 25 2023 at 12:20):

nolints.txt is a different thing to the nolint attribute

Eric Wieser (Jan 25 2023 at 12:20):

Apparently in mathlib4 it's nolints.json


Last updated: Dec 20 2023 at 11:08 UTC