Avasam

Results 686 comments of Avasam

@abravalheri Updated and added a few more details !

I don't remember if I was able to do so in previous Ruff versions, but in 0.6.1 I am able to move the #endregion comment up and indented into the...

You should ignore `UP038` too ! https://github.com/astral-sh/ruff/issues/7871

Might wanna disable UP027 too (I've done so here: https://github.com/pypa/setuptools/pull/4558)

CI failure looks completely unrelated, I got the same thing here: https://github.com/pypa/setuptools/actions/runs/11113018762/job/30876386043?pr=4556

@jaraco and/or @abravalheri Can this be reviewed? Finishing to enable all `UP` rules is a PR I would've done as well if this one didn't already exists.

> What is the meaning of `__slots__` in a stub? I don't think there's a special meaning for stubs. Other than letting users access that attribute directly without attribute access...

FWIW, having *adding* `__slots__` to stubs is not one of the discrepancies I noted in my original issue. I only mentioned classes that have `__slots__` in the stubs when it's...

> It's been a while since I looked at this, so my memory doesn't help. But looking at [#21691 (comment)](https://github.com/protocolbuffers/protobuf/issues/21691#issuecomment-3185957672), it seems that my testing showed that a statement like...