Repository navigation
STY: ignore all existing violations to rule PLR0917 and upgrade ruff to 0.16.x - #20194
Conversation
I think "legacy" over "historical" may be a good change to help get this PR in? |
|
I intentionally avoided the term "legacy" so as not to imply or suggest all these APIs are meant to be replaced, but I'll settle down for it or any other alternate wording that @saimn can get behind. |
853db9d to
8c57baf
Compare
8c57baf to
e83085b
Compare
|
Ping @saimn :) |
|
Well it's not about the wording. For what concerns |
the frequency doesn't really matter in my opinion. What does matter is wether we have a consensus that new APIs should not accept a large number of positional arguments. Do we have it ? |
|
Yes it matters. You can't enforce a rule, pollute the code, and declare everything as legacy for a case that almost never happens. |
|
Alright. Putting aside the fact that I explicitly rejected declaring anything "legacy" for the sake of this PR, I'm going to opt-out of this rule for io.fits, hoping that you can lift your objection then. |
e83085b to
3371360
Compare
|
Hearing the point from @saimn about the APIs, I'm now strongly in favor of removing any additional text in the ignore comment like "historical" or "legacy" or "pre-existing". The API is what it is, and that text is only adding noise. |
3371360 to
ce4cc9d
Compare
|
removed |
taldcroft
left a comment
There was a problem hiding this comment.
Good for table, time, io.ascii.
ce4cc9d to
7a575f0
Compare
7a575f0 to
a200d90
Compare
|
Pressure is building as ruff 0.17.0 is now out and this change is still needed to upgrade to 0.16.x |
Description
Close #20113