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.6.8 #5402

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Update ruff to 0.6.8 #5402

merged 3 commits into from
Sep 26, 2024

Conversation

pyup-bot
Copy link
Collaborator

This PR updates ruff from 0.6.7 to 0.6.8.

Changelog

0.6.8

Preview features

- Remove unnecessary parentheses around `match case` clauses ([13510](https://github.com/astral-sh/ruff/pull/13510))
- Parenthesize overlong `if` guards in `match..case` clauses ([13513](https://github.com/astral-sh/ruff/pull/13513))
- Detect basic wildcard imports in `ruff analyze graph` ([13486](https://github.com/astral-sh/ruff/pull/13486))
- \[`pylint`\] Implement `boolean-chained-comparison` (`R1716`) ([13435](https://github.com/astral-sh/ruff/pull/13435))

Rule changes

- \[`lake8-simplify`\] Detect `SIM910` when using variadic keyword arguments, i.e., `**kwargs` ([13503](https://github.com/astral-sh/ruff/pull/13503))
- \[`pyupgrade`\] Avoid false negatives with non-reference shadowed bindings of loop variables (`UP028`) ([13504](https://github.com/astral-sh/ruff/pull/13504))

Bug fixes

- Detect tuples bound to variadic positional arguments i.e. `*args` ([13512](https://github.com/astral-sh/ruff/pull/13512))
- Exit gracefully on broken pipe errors ([13485](https://github.com/astral-sh/ruff/pull/13485))
- Avoid panic when analyze graph hits broken pipe ([13484](https://github.com/astral-sh/ruff/pull/13484))

Performance

- Reuse `BTreeSets` in module resolver ([13440](https://github.com/astral-sh/ruff/pull/13440))
- Skip traversal for non-compound statements ([13441](https://github.com/astral-sh/ruff/pull/13441))
Links

@browniebroke browniebroke merged commit 4e7a412 into master Sep 26, 2024
13 of 14 checks passed
@browniebroke browniebroke deleted the pyup-update-ruff-0.6.7-to-0.6.8 branch September 26, 2024 18:40
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.

2 participants