Bump ruff from 0.12.1 to 0.12.2 in /requirements
Merged
Number: #1192
Type: Pull Request
State: Merged
Type: Pull Request
State: Merged
Author:
dependabot[bot]
Association: Contributor
Comments: 1
Association: Contributor
Comments: 1
Created:
July 04, 2025 at 01:52 AM UTC
(5 months ago)
(5 months ago)
Updated:
July 07, 2025 at 10:27 AM UTC
(5 months ago)
(5 months ago)
Merged:
July 07, 2025 at 10:27 AM UTC
(5 months ago)
by qubvel
(5 months ago)
by qubvel
Time to Close:
3 days
Labels:
dependencies python
dependencies python
Description:
Bumps ruff from 0.12.1 to 0.12.2.
Release notes
Sourced from ruff's releases.
0.12.2
Release Notes
Preview features
- [
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
- Document link between
import-outside-top-level (PLC0415)andlint.flake8-tidy-imports.banned-module-level-imports(#18733)- Fix description of the
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)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.12.2
Preview features
- [
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
- Document link between
import-outside-top-level (PLC0415)andlint.flake8-tidy-imports.banned-module-level-imports(#18733)- Fix description of the
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)
... (truncated)
Commits
9bee837Bump 0.12.2 (#19126)1c6717bFilter private symbols from stubs if they are internal types (#19121)1b813cdFix description of theformat.skip-magic-trailing-commaexample (#19095)b00f68a[ruff] Allow morefieldcalls fromattrs(RUF009) (#19021)710c60f[flake8-pytest-style] Make example error out-of-the-box (PT023) (#19104)811e25d[flake8-pytest-style] Make example error out-of-the-box (PT030) (#19105)b78af2d[flake8-quotes] Make example error out-of-the-box (Q003) (#19106)4f36f06Document link betweenimport-outside-top-level (PLC0415)and `lint.flake8-t...2589a29[flake8-simplify] Make example error out-of-the-box (SIM113) (#19109)26bb8f7[flake8-simplify] Make example error out-of-the-box (SIM401) (#19110)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
1
Files Changed:
1
1
Additions:
+1
+1
Deletions:
-1
-1
Package Dependencies
Technical Details
| ID: | 2801089 |
| UUID: | 2640011188 |
| Node ID: | PR_kwDOClTaK86dW1-0 |
| Host: | GitHub |
| Repository: | qubvel-org/segmentation_models.pytorch |
| Merge State: | Unknown |