Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ruff to 0.4.4 #5061

Merged
merged 2 commits into from
May 10, 2024
Merged

Update ruff to 0.4.4 #5061

merged 2 commits into from
May 10, 2024

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented May 9, 2024

This PR updates ruff from 0.4.3 to 0.4.4.

Changelog

0.4.4

Preview features

- \[`pycodestyle`\] Ignore end-of-line comments when determining blank line rules ([11342](https://github.com/astral-sh/ruff/pull/11342))
- \[`pylint`\] Detect `pathlib.Path.open` calls in `unspecified-encoding` (`PLW1514`)  ([11288](https://github.com/astral-sh/ruff/pull/11288))
- \[`flake8-pyi`\] Implement `PYI059` (`generic-not-last-base-class`) ([11233](https://github.com/astral-sh/ruff/pull/11233))
- \[`flake8-pyi`\] Implement `PYI062` (`duplicate-literal-member`) ([11269](https://github.com/astral-sh/ruff/pull/11269))

Rule changes

- \[`flake8-boolean-trap`\] Allow passing booleans as positional-only arguments in code such as `set(True)` ([11287](https://github.com/astral-sh/ruff/pull/11287))
- \[`flake8-bugbear`\] Ignore enum classes in `cached-instance-method` (`B019`) ([11312](https://github.com/astral-sh/ruff/pull/11312))

Server

- Expand tildes when resolving Ruff server configuration file ([11283](https://github.com/astral-sh/ruff/pull/11283))
- Fix `ruff server` hanging after Neovim closes ([11291](https://github.com/astral-sh/ruff/pull/11291))
- Editor settings are used by default if no file-based configuration exists ([11266](https://github.com/astral-sh/ruff/pull/11266))

Bug fixes

- \[`pylint`\] Consider `with` statements for `too-many-branches` (`PLR0912`) ([11321](https://github.com/astral-sh/ruff/pull/11321))
- \[`flake8-blind-except`, `tryceratops`\] Respect logged and re-raised expressions in nested statements (`BLE001`, `TRY201`) ([11301](https://github.com/astral-sh/ruff/pull/11301))
- Recognise assignments such as `__all__ = builtins.list(["foo", "bar"])` as valid `__all__` definitions ([11335](https://github.com/astral-sh/ruff/pull/11335))
Links

@pyup-bot pyup-bot added the update label May 9, 2024
@browniebroke browniebroke merged commit a45bb9e into master May 10, 2024
15 checks passed
@browniebroke browniebroke deleted the pyup-update-ruff-0.4.3-to-0.4.4 branch May 10, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants