Ruff 0.11.0 (#16723)

## Summary

Follow-up release for Ruff v0.10 that now includes the following two
changes that we intended to ship but slipped:

* Changes to how the Python version is inferred when a `target-version`
is not specified (#16319)
* `blanket-noqa` (`PGH004`): Also detect blanked file-level noqa
comments (and not just line level comments).

## Test plan

I verified that the binary built on this branch respects the
`requires-python` setting
([logs](https://www.diffchecker.com/qyJWYi6W/), left: v0.10, right:
v0.11)
This commit is contained in:
Micha Reiser 2025-03-14 13:57:56 +01:00 committed by GitHub
parent a22d206db2
commit 2cd25ef641
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 51 additions and 22 deletions

View file

@ -365,7 +365,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be
```yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.10.0
rev: v0.11.0
hooks:
# Run the linter.
- id: ruff