⬆️ Update dependency ruff to v0.5.2#1394
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
|



This PR contains the following updates:
0.5.1->0.5.2Release Notes
astral-sh/ruff (ruff)
v0.5.2Compare Source
Preview features
spaceseparator before parenthesized expressions in comprehensions with leading comments (#12282)flake8-async] UpdateASYNC100to includeanyioandasyncio(#12221)flake8-async] UpdateASYNC109to includeanyioandasyncio(#12236)flake8-async] UpdateASYNC110to includeanyioandasyncio(#12261)flake8-async] UpdateASYNC115to includeanyioandasyncio(#12262)flake8-async] UpdateASYNC116to includeanyioandasyncio(#12266)Rule changes
flake8-return] Exempt properties from explicit return rule (RET501) (#12243)numpy] Addnp.NAN-to-np.nandiagnostic (#12292)refurb] Makelist-reverse-copyan unsafe fix (#12303)Server
includeandextend-includesettings in native server (#12252)CLI
D203(#12238)Bug fixes
notoperations as boolean tests (#12301)flake8-bandit] AvoidS310violations for HTTP-safe f-strings (#12305)flake8-bandit] Support explicit string concatenations in S310 HTTP detection (#12315)flake8-bandit] fix S113 false positive for httpx withouttimeoutargument (#12213)pycodestyle] Remove "non-obvious" allowance for E721 (#12300)pyflakes] Considerwithblocks as single-item branches for redefinition analysis (#12311)refurb] Restrict forwarding fornewlineargument inopen()calls to Python versions >= 3.10 (#12244)Documentation
--output-format fulldefault (#12248)Performance
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.