chore(deps-dev): bump ruff from 0.11.12 to 0.12.1 in /scaleway-core
Open
Number: #1050
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Contributor
Comments: 0
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 0
Created:
July 01, 2025 at 01:24 PM UTC
(2 months ago)
(2 months ago)
Updated:
July 18, 2025 at 11:30 AM UTC
(about 2 months ago)
(about 2 months ago)
Labels:
dependencies python
dependencies python
Description:
Bumps ruff from 0.11.12 to 0.12.1.
Release notes
Sourced from ruff's releases.
0.12.1
Release Notes
Preview features
- [
flake8-errmsg
] ExtendEM101
to support byte strings (#18867)- [
flake8-use-pathlib
] Add autofix forPTH202
(#18763)- [
pygrep-hooks
] AddAsyncMock
methods toinvalid-mock-access
(PGH005
) (#18547)- [
pylint
] Ignore__init__.py
files in (PLC0414
) (#18400)- [
ruff
] TriggerRUF037
for empty string and byte strings (#18862)- [formatter] Fix missing blank lines before decorated classes in
.pyi
files (#18888)Bug fixes
- Avoid generating diagnostics with per-file ignores (#18801)
- Handle parenthesized arguments in
remove_argument
(#18805)- [
flake8-logging
] Avoid false positive forexc_info=True
outsidelogger.exception
(LOG014
) (#18737)- [
flake8-pytest-style
] Enforcepytest
import for decorators (#18779)- [
flake8-pytest-style
] Mark autofix forPT001
andPT023
as unsafe if there's comments in the decorator (#18792)- [
flake8-pytest-style
]PT001
/PT023
fix makes syntax error on parenthesized decorator (#18782)- [
flake8-raise
] Make fix unsafe if it deletes comments (RSE102
) (#18788)- [
flake8-simplify
] FixSIM911
autofix creating a syntax error (#18793)- [
flake8-simplify
] Fix false negatives for shadowed bindings (SIM910
,SIM911
) (#18794)- [
flake8-simplify
] Preserve original behavior forexcept ()
and bareexcept
(SIM105
) (#18213)- [
flake8-pyi
] FixPYI041
's fix causingTypeError
withNone | None | ...
(#18637)- [
perflint
] FixPERF101
autofix creating a syntax error and mark autofix as unsafe if there are comments in thelist
call expr (#18803)- [
perflint
] Fix false negative inPERF401
(#18866)- [
pylint
] Avoid flattening nestedmin
/max
when outer call has single argument (PLW3301
) (#16885)- [
pylint
] FixPLC2801
autofix creating a syntax error (#18857)- [
pylint
] MarkPLE0241
autofix as unsafe if there's comments in the base classes (#18832)- [
pylint
] SuppressPLE2510
/PLE2512
/PLE2513
/PLE2514
/PLE2515
autofix if the text contains an odd number of backslashes (#18856)- [
refurb
] Detect more exotic float literals inFURB164
(#18925)- [
refurb
] FixFURB163
autofix creating a syntax error foryield
expressions (#18756)- [
refurb
] MarkFURB129
autofix as unsafe if there's comments in thereadlines
call (#18858)- [
ruff
] Fix false positives and negatives inRUF010
(#18690)- Fix casing of
analyze.direction
variant names (#18892)Rule changes
- Fix f-string interpolation escaping in generated fixes (#18882)
- [
flake8-return
] MarkRET501
fix unsafe if comments are inside (#18780)- [
flake8-async
] Fix detection for large integer sleep durations inASYNC116
rule (#18767)- [
flake8-async
] Mark autofix forASYNC115
as unsafe if the call expression contains comments (#18753)- [
flake8-bugbear
] Mark autofix forB004
as unsafe if thehasattr
call expr contains comments (#18755)- [
flake8-comprehension
] Mark autofix forC420
as unsafe if there's comments inside the dict comprehension (#18768)- [
flake8-comprehensions
] Handle template strings for comprehension fixes (#18710)- [
flake8-future-annotations
] Add autofix (FA100
) (#18903)- [
pyflakes
] MarkF504
/F522
/F523
autofix as unsafe if there's a call with side effect (#18839)- [
pylint
] Allow fix with comments and document performance implications (PLW3301
) (#18936)- [
pylint
] Detect more exoticNaN
literals inPLW0177
(#18630)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.12.1
Preview features
- [
flake8-errmsg
] ExtendEM101
to support byte strings (#18867)- [
flake8-use-pathlib
] Add autofix forPTH202
(#18763)- [
pygrep-hooks
] AddAsyncMock
methods toinvalid-mock-access
(PGH005
) (#18547)- [
pylint
] Ignore__init__.py
files in (PLC0414
) (#18400)- [
ruff
] TriggerRUF037
for empty string and byte strings (#18862)- [formatter] Fix missing blank lines before decorated classes in
.pyi
files (#18888)Bug fixes
- Avoid generating diagnostics with per-file ignores (#18801)
- Handle parenthesized arguments in
remove_argument
(#18805)- [
flake8-logging
] Avoid false positive forexc_info=True
outsidelogger.exception
(LOG014
) (#18737)- [
flake8-pytest-style
] Enforcepytest
import for decorators (#18779)- [
flake8-pytest-style
] Mark autofix forPT001
andPT023
as unsafe if there's comments in the decorator (#18792)- [
flake8-pytest-style
]PT001
/PT023
fix makes syntax error on parenthesized decorator (#18782)- [
flake8-raise
] Make fix unsafe if it deletes comments (RSE102
) (#18788)- [
flake8-simplify
] FixSIM911
autofix creating a syntax error (#18793)- [
flake8-simplify
] Fix false negatives for shadowed bindings (SIM910
,SIM911
) (#18794)- [
flake8-simplify
] Preserve original behavior forexcept ()
and bareexcept
(SIM105
) (#18213)- [
flake8-pyi
] FixPYI041
's fix causingTypeError
withNone | None | ...
(#18637)- [
perflint
] FixPERF101
autofix creating a syntax error and mark autofix as unsafe if there are comments in thelist
call expr (#18803)- [
perflint
] Fix false negative inPERF401
(#18866)- [
pylint
] Avoid flattening nestedmin
/max
when outer call has single argument (PLW3301
) (#16885)- [
pylint
] FixPLC2801
autofix creating a syntax error (#18857)- [
pylint
] MarkPLE0241
autofix as unsafe if there's comments in the base classes (#18832)- [
pylint
] SuppressPLE2510
/PLE2512
/PLE2513
/PLE2514
/PLE2515
autofix if the text contains an odd number of backslashes (#18856)- [
refurb
] Detect more exotic float literals inFURB164
(#18925)- [
refurb
] FixFURB163
autofix creating a syntax error foryield
expressions (#18756)- [
refurb
] MarkFURB129
autofix as unsafe if there's comments in thereadlines
call (#18858)- [
ruff
] Fix false positives and negatives inRUF010
(#18690)- Fix casing of
analyze.direction
variant names (#18892)Rule changes
- Fix f-string interpolation escaping in generated fixes (#18882)
- [
flake8-return
] MarkRET501
fix unsafe if comments are inside (#18780)- [
flake8-async
] Fix detection for large integer sleep durations inASYNC116
rule (#18767)- [
flake8-async
] Mark autofix forASYNC115
as unsafe if the call expression contains comments (#18753)- [
flake8-bugbear
] Mark autofix forB004
as unsafe if thehasattr
call expr contains comments (#18755)- [
flake8-comprehension
] Mark autofix forC420
as unsafe if there's comments inside the dict comprehension (#18768)- [
flake8-comprehensions
] Handle template strings for comprehension fixes (#18710)- [
flake8-future-annotations
] Add autofix (FA100
) (#18903)- [
pyflakes
] MarkF504
/F522
/F523
autofix as unsafe if there's a call with side effect (#18839)- [
pylint
] Allow fix with comments and document performance implications (PLW3301
) (#18936)- [
pylint
] Detect more exoticNaN
literals inPLW0177
(#18630)- [
pylint
] FixPLC1802
autofix creating a syntax error and mark autofix as unsafe if there's comments in thelen
call (#18836)
... (truncated)
Commits
32c5418
Bump 0.12.1 (#18969)b85c219
[FastAPI
] Add fix safety section toFAST002
(#18940)b1d1cf1
[ty] Add regression test for leading tab mis-alignment in diagnostic renderin...1dcdf7f
[ty] Resolve python environment inOptions::to_program_settings
(#18960)d006976
[ruff
] Fix false positives and negatives inRUF010
(#18690)76619b9
[ty] Fix rendering of long lines that are indented with tabs6e25cfb
[ty] Add regression test for diagnostic rendering panic7638729
[ty] Move venv and conda env discovery toSearchPath::from_settings
(#18938)d04e63a
[ty] Add regression-benchmark for attribute-assignment hang (#18957)86fd9b6
[ty] Format conflicting types as an enumeration (#18956)- 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will 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 version
will 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 dependency
will 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:
0
0
Files Changed:
0
0
Additions:
+0
+0
Deletions:
-0
-0
Package Dependencies
Package:
ruff
Ecosystem:
pip
pip
Version Change:
0.11.12 → 0.12.1
Update Type:
Minor
Minor
Path:
/scaleway-core
Technical Details
ID: | 3767727 |
UUID: | 2632473424 |
Node ID: | PR_kwDOItrFTM6c6FtQ |
Host: | GitHub |
Repository: | scaleway/scaleway-sdk-python |