Update Ruff to 0.16.8 - #16468
Update Ruff to 0.16.8#16468
Conversation
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
|
@AlexWaygood Did you have a look at the instances flagged by RUF036? Is that something we should work towards fixing (I personally like that rule) or are there a significant amount of instances where fixing it would be detrimental? In the former case, we should leave a TODO comment and open an issue. |
Ugh, sorry, my PR description is terrible here. I should have checked the prose that codex wrote for me more carefully. I'm sorry 😞 I also think we should enable RUF036. I just wanted to separate enabling it into a standalone PR, since the diff is huge if we enable it here, and it makes it hard to spot the other changes being made here. |
I agree that that makes sense. |
|
#16477 for the followup |
Update Ruff to 0.16.8, disabling its new RUF036 rule to avoid reordering existing unions and suppressing its new RUF068 rule where stubs mirror duplicate entries in reportlab's and workalendar's runtime
__all__tuples.This is one of the dependencies that was updated in #16459.
Prepared with Codex.