Repository navigation
RFC: address ISC004 violations (utils) - #20115
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
| [ | ||
| b"\xd7\x94\xd7\x90\xd7\xa1\xd7\x98\xd7\xa8\xd7\x95\xd7\xa0\xd7\x95" | ||
| b"\xd7\x9e\xd7\x99 \xd7\xa4\xd7\x99\xd7\x99\xd7\xaa\xd7\x95\xd7\x9f" | ||
| ( |
There was a problem hiding this comment.
I don't see how the extra parentheses here is any improvement. Can we exclude this one from ruff rage?
There was a problem hiding this comment.
ISC004 flags implicit str/bytes concatenation in collections (list here), because they are often not desired and an actual bug (if they're meant to be separate strings). Additional bracing parentheses is understood by ruff to express intentionality, and is more likely to be portable with other linters than a # noqa comment, should we migrate to something else in the future.
pllim
left a comment
There was a problem hiding this comment.
Not a fan of this one but I also don't want to waste time arguing with a linter, so let's just merge.
Description
Ref #20113