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.9.2 #5646

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Update ruff to 0.9.2 #5646

merged 3 commits into from
Jan 16, 2025

Conversation

pyup-bot
Copy link
Collaborator

This PR updates ruff from 0.9.1 to 0.9.2.

Changelog

0.9.2

Preview features

- \[`airflow`\] Fix typo "security_managr" to "security_manager" (`AIR303`) ([15463](https://github.com/astral-sh/ruff/pull/15463))
- \[`airflow`\] extend and fix AIR302 rules ([15525](https://github.com/astral-sh/ruff/pull/15525))
- \[`fastapi`\] Handle parameters with `Depends` correctly (`FAST003`) ([15364](https://github.com/astral-sh/ruff/pull/15364))
- \[`flake8-pytest-style`\] Implement pytest.warns diagnostics (`PT029`, `PT030`, `PT031`) ([15444](https://github.com/astral-sh/ruff/pull/15444))
- \[`flake8-pytest-style`\] Test function parameters with default arguments (`PT028`) ([15449](https://github.com/astral-sh/ruff/pull/15449))
- \[`flake8-type-checking`\] Avoid false positives for `|` in `TC008` ([15201](https://github.com/astral-sh/ruff/pull/15201))

Rule changes

- \[`flake8-todos`\] Allow VSCode GitHub PR extension style links in `missing-todo-link` (`TD003`) ([15519](https://github.com/astral-sh/ruff/pull/15519))
- \[`pyflakes`\] Show syntax error message for `F722` ([15523](https://github.com/astral-sh/ruff/pull/15523))

Formatter

- Fix curly bracket spacing around f-string expressions containing curly braces ([15471](https://github.com/astral-sh/ruff/pull/15471))
- Fix joining of f-strings with different quotes when using quote style `Preserve` ([15524](https://github.com/astral-sh/ruff/pull/15524))

Server

- Avoid indexing the same workspace multiple times ([15495](https://github.com/astral-sh/ruff/pull/15495))
- Display context for `ruff.configuration` errors ([15452](https://github.com/astral-sh/ruff/pull/15452))

Configuration

- Remove `flatten` to improve deserialization error messages ([15414](https://github.com/astral-sh/ruff/pull/15414))

Bug fixes

- Parse triple-quoted string annotations as if parenthesized ([15387](https://github.com/astral-sh/ruff/pull/15387))
- \[`fastapi`\] Update `Annotated` fixes (`FAST002`) ([15462](https://github.com/astral-sh/ruff/pull/15462))
- \[`flake8-bandit`\] Check for `builtins` instead of `builtin` (`S102`, `PTH123`) ([15443](https://github.com/astral-sh/ruff/pull/15443))
- \[`flake8-pathlib`\] Fix `--select` for `os-path-dirname` (`PTH120`) ([15446](https://github.com/astral-sh/ruff/pull/15446))
- \[`ruff`\] Fix false positive on global keyword (`RUF052`) ([15235](https://github.com/astral-sh/ruff/pull/15235))
Links

@browniebroke browniebroke merged commit e69d77a into master Jan 16, 2025
16 checks passed
@browniebroke browniebroke deleted the pyup-update-ruff-0.9.1-to-0.9.2 branch January 16, 2025 13:59
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