renovate/ruff-0.x
main
This PR contains the following updates:
==0.16.3
==0.16.8
v0.16.8
Compare Source
Released on 2026-09-16.
TypedDict
flake8-simplify
async with
SIM117
SIM109
pyupgrade
UP040
TypeVarTuple
ParamSpec
UP046
UP047
__lazy_modules__
typing.TypeForm
flake8-type-checking
TYPE_CHECKING
TC001
TC002
TC003
ByteString
UP035
ruff
flake8-use-pathlib
parent_mode
RUF064
PTH103
\Z
pytest.raises()
RUF043
flake8-tidy-imports
extend-banned-api
v0.16.7
Released on 2026-09-10.
RUF077
re.prefixmatch
RUF039
RUF055
flake8-implicit-str-concat
ISC003
TID254
pylint
ImportCycleError
PLW0133
D211
D203
slice
frozendict
__cached__
typing.no_type_check_decorator
line-length
--config
v0.16.6
Released on 2026-09-03.
pytest-fixture-autouse
restriction
flake8-pytest-style
PT020
TID255
isort
I001
flake8-async
builtins.open
ASYNC230
PLW1514
flake8-bugbear
match
B031
flake8-datetimez
tzinfo=None
datetime
DTZ901
PT017
lint.external
RUF102
os.listdir
PTH208
lint.per-file-ignores
ASYNC240
encoding
UP012
v0.16.5
Released on 2026-08-27.
ASYNC210
strptime
DTZ007
lambda
SIM401
ClientOptions
v0.16.4
Released on 2026-08-20.
PTH116
refurb
delete-full-slice
FURB131
FURB101
FURB103
open
InvalidInstruction
POPCNT
pyflakes
F722
os._exit
import-private-name
PLC2701
ctypes.LittleEndianStructure
RUF012
nonlocal
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
107a96de28
f38e738016
54e101de22
5bd203e0f7
09a8eaf3ac
No dependencies set.
The note is not visible to the blocked user.
This PR contains the following updates:
==0.16.3→==0.16.8Release Notes
astral-sh/ruff (ruff)
v0.16.8Compare Source
Released on 2026-09-16.
Bug fixes
TypedDictkeyword arguments correctly (#28584)flake8-simplify] Detect nestedasync withunder sync parent (SIM117) (#27821)flake8-simplify] Preserve operand order inSIM109fix (#27824)pyupgrade] Preserve required parentheses in multilineUP040fixes (#28164)pyupgrade] SkipTypeVarTupleandParamSpecconversions with bounds or constraints (UP040,UP046,UP047) (#28505)Rule changes
__lazy_modules__(#28459)TypedDictclass keywords (#28533)typing.TypeForm(#28507)__lazy_modules__(#28491)flake8-type-checking] Prefer lazy imports overTYPE_CHECKINGon Python 3.15 and later (TC001,TC002,TC003) (#28541)pyupgrade] Make the fix forUP040always unsafe (#28526)pyupgrade] Stop recommending deprecatedByteStringaliases (UP035) (#28498)ruff,flake8-use-pathlib] Recognize theparent_modeargument (RUF064,PTH103) (#28528)ruff] Detect\Zinpytest.raises()match patterns (RUF043) (#28598)CLI
Configuration
flake8-tidy-imports] Addextend-banned-api(#28644)Contributors
v0.16.7Compare Source
Released on 2026-09-10.
Preview features
ruff] Add rule for default values on method receivers (RUF077) (#26700)ruff] Recognizere.prefixmatch(RUF039,RUF055) (#28311)Bug fixes
flake8-implicit-str-concat] Mark fix unsafe when it creates a docstring (ISC003) (#27981)flake8-tidy-imports] Skip fixes for multi-member imports (TID254) (#26584)pylint] GateImportCycleErroron Python 3.15 (PLW0133) (#28310)Rule changes
D211andD203rule conflict diagnostic (#28444)sliceandfrozendictgenerics (#28477)__cached__for Python 3.15 (#28476)pyupgrade] Stop recommending removedtyping.no_type_check_decorator(UP035) (#28475)Performance
Documentation
line-lengthpath in--configexample (#28392)Other changes
Contributors
v0.16.6Compare Source
Released on 2026-09-03.
Preview features
pytest-fixture-autouseto therestrictioncategory (#28219)flake8-pytest-style] Add an autofix forPT020(#27993)flake8-tidy-imports] Prevent fix loop betweenTID254andTID255(#28262)isort] Exclude pragma comments from line length calculation (I001) (#27313)Bug fixes
flake8-async,pylint] Recognizebuiltins.open(ASYNC230,PLW1514) (#28021)flake8-bugbear] Fix panic onmatchsubjects (B031) (#27781)flake8-datetimez] Rejecttzinfo=Nonefordatetimebounds (DTZ901) (#28022)flake8-pytest-style] Avoid duplicatePT017diagnostics (#27918)ruff] Removelint.externalhint for Ruff-specific suppressions (RUF102) (#27923)Rule changes
flake8-use-pathlib] Add display-only fix foros.listdir(PTH208) (#28027)Documentation
lint.per-file-ignores(#28106)flake8-async] Document thread offloading (ASYNC240) (#28008)pyupgrade] Clarify defaultencodingargument handling (UP012) (#27315)Other changes
Contributors
v0.16.5Compare Source
Released on 2026-08-27.
Preview features
Bug fixes
flake8-async] Detect blocking generic HTTP requests (ASYNC210) (#28024)flake8-datetimez] Allow timezone-safestrptimechains (DTZ007) (#28023)flake8-simplify] Respect side effects inlambdadefaults (SIM401) (#28000)Server
ClientOptionsdoc comment (#27978)Documentation
Contributors
v0.16.4Compare Source
Released on 2026-08-20.
Preview features
flake8-use-pathlib] Add autofix forPTH116(#26460)refurb] Restrictdelete-full-sliceto lists (FURB131) (#27711)refurb] SkipFURB101andFURB103when theopenargument is a file descriptor (#27643)Bug fixes
InvalidInstructionon Windows CPUs that do not supportPOPCNT(#27803)pyflakes] Emit semantic syntax errors in string type definitions asF722(#27835)pylint] Allowos._exitimports inimport-private-name(PLC2701) (#27738)Rule changes
ruff] Addctypes.LittleEndianStructureand related types to existing exception (RUF012) (#27753)nonlocal(#27628)Server
Documentation
Other changes
Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
107a96de28tof38e738016chore(deps): update dependency ruff to v0.16.4to chore(deps): update dependency ruff to v0.16.5f38e738016to54e101de22chore(deps): update dependency ruff to v0.16.5to chore(deps): update dependency ruff to v0.16.654e101de22to5bd203e0f7chore(deps): update dependency ruff to v0.16.6to chore(deps): update dependency ruff to v0.16.75bd203e0f7to09a8eaf3acchore(deps): update dependency ruff to v0.16.7to chore(deps): update dependency ruff to v0.16.8View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.