Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bumpCreated with
brew bump-formula-pr.release notes
flake8-pyi] ExpandOptional[A]toA | None(PYI016) (#18572)pyupgrade] MarkUP008fix safe if no comments are in range (#18683)Bug fixes
flake8-comprehensions] FixC420to prepend whitespace when needed (#18616)perflint] FixPERF403panic on attribute or subscription loop variable (#19042)pydocstyle] FixD413infinite loop for parenthesized docstring (#18930)pylint] FixPLW0108autofix introducing a syntax error when the lambda's body contains an assignment expression (#18678)refurb] Fix false positive on empty tuples (FURB168) (#19058)ruff] Allow morefieldcalls fromattrs(RUF009) (#19021)ruff] Fix syntax error introduced for an empty string followed by a u-prefixed string (UP025) (#18899)Rule changes
flake8-executable] Allowuvxin shebang line (EXE003) (#18967)pandas] Avoid flaggingPD002ifpandasis not imported (#18963)pyupgrade] Avoid PEP-604 unions withtyping.NamedTuple(UP007,UP045) (#18682)Documentation
import-outside-top-level (PLC0415)andlint.flake8-tidy-imports.banned-module-level-imports(#18733)format.skip-magic-trailing-commaexample (#19095)airflow] MakeAIR302example error out-of-the-box (#18988)airflow] MakeAIR312example error out-of-the-box (#18989)flake8-annotations] MakeANN401example error out-of-the-box (#18974)flake8-async] MakeASYNC100example error out-of-the-box (#18993)flake8-async] MakeASYNC105example error out-of-the-box (#19002)flake8-async] MakeASYNC110example error out-of-the-box (#18975)flake8-async] MakeASYNC210example error out-of-the-box (#18977)flake8-async] MakeASYNC220,ASYNC221, andASYNC222examples error out-of-the-box (#18978)flake8-async] MakeASYNC251example error out-of-the-box (#18990)flake8-bandit] MakeS201example error out-of-the-box (#19017)flake8-bandit] MakeS604andS609examples error out-of-the-box (#19049)flake8-bugbear] MakeB028example error out-of-the-box (#19054)flake8-bugbear] MakeB911example error out-of-the-box (#19051)flake8-datetimez] MakeDTZ011example error out-of-the-box (#19055)flake8-datetimez] MakeDTZ901example error out-of-the-box (#19056)flake8-pyi] MakePYI032example error out-of-the-box (#19061)flake8-pyi] Make example error out-of-the-box (PYI014,PYI015) (#19097)flake8-pyi] Make example error out-of-the-box (PYI042) (#19101)flake8-pyi] Make example error out-of-the-box (PYI059) (#19080)flake8-pyi] Make example error out-of-the-box (PYI062) (#19079)flake8-pytest-style] Make example error out-of-the-box (PT023) (#19104)flake8-pytest-style] Make example error out-of-the-box (PT030) (#19105)flake8-quotes] Make example error out-of-the-box (Q003) (#19106)flake8-simplify] Make example error out-of-the-box (SIM110) (#19113)flake8-simplify] Make example error out-of-the-box (SIM113) (#19109)flake8-simplify] Make example error out-of-the-box (SIM401) (#19110)pyflakes] Fix backslash in docs (F621) (#19098)pylint] FixPLC0415example (#18970)Contributors
Install ruff 0.12.2
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.2/ruff-installer.ps1 | iex"Download ruff 0.12.2
View the full release notes at https://github.com/astral-sh/ruff/releases/tag/0.12.2.