ocean
ocean copied to clipboard
Bump ruff from 0.6.9 to 0.9.6
Bumps ruff from 0.6.9 to 0.9.6.
Release notes
Sourced from ruff's releases.
0.9.6
Release Notes
Preview features
- [
airflow] Addexternal_task.{ExternalTaskMarker, ExternalTaskSensor}forAIR302(#16014)- [
flake8-builtins] Make strict module name comparison optional (A005) (#15951)- [
flake8-pyi] Extend fix to Python <= 3.9 forredundant-none-literal(PYI061) (#16044)- [
pylint] Also report when the object isn't a literal (PLE1310) (#15985)- [
ruff] Implementindented-form-feed(RUF054) (#16049)- [
ruff] Skip type definitions formissing-f-string-syntax(RUF027) (#16054)Rule changes
- [
flake8-annotations] Correct syntax fortyping.Unionin suggested return type fixes forANN20xrules (#16025)- [
flake8-builtins] Match upstream module name comparison (A005) (#16006)- [
flake8-comprehensions] Detect overshadowedlist/set/dict, ignore variadics and named expressions (C417) (#15955)- [
flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)- [
flake8-simplify] Only triggerSIM401on known dictionaries (#15995)- [
pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)- [
pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)- [
pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)- [
pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)- [
pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049,RUF052) (#16032)- [
ruff] UpdateRUF009to behave similar toB008and ignore attributes with immutable types (#16048)Server
- Root exclusions in the server to project root (#16043)
Bug fixes
- [
flake8-datetime] Ignore.replace()calls while looking for.astimezone(#16050)- [
flake8-type-checking] AvoidTC004false positive where the runtime definition is provided by__getattr__(#16052)Documentation
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.9.6
Preview features
- [
airflow] Addexternal_task.{ExternalTaskMarker, ExternalTaskSensor}forAIR302(#16014)- [
flake8-builtins] Make strict module name comparison optional (A005) (#15951)- [
flake8-pyi] Extend fix to Python <= 3.9 forredundant-none-literal(PYI061) (#16044)- [
pylint] Also report when the object isn't a literal (PLE1310) (#15985)- [
ruff] Implementindented-form-feed(RUF054) (#16049)- [
ruff] Skip type definitions formissing-f-string-syntax(RUF027) (#16054)Rule changes
- [
flake8-annotations] Correct syntax fortyping.Unionin suggested return type fixes forANN20xrules (#16025)- [
flake8-builtins] Match upstream module name comparison (A005) (#16006)- [
flake8-comprehensions] Detect overshadowedlist/set/dict, ignore variadics and named expressions (C417) (#15955)- [
flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)- [
flake8-simplify] Only triggerSIM401on known dictionaries (#15995)- [
pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)- [
pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)- [
pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)- [
pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)- [
pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049,RUF052) (#16032)- [
ruff] UpdateRUF009to behave similar toB008and ignore attributes with immutable types (#16048)Server
- Root exclusions in the server to project root (#16043)
Bug fixes
- [
flake8-datetime] Ignore.replace()calls while looking for.astimezone(#16050)- [
flake8-type-checking] AvoidTC004false positive where the runtime definition is provided by__getattr__(#16052)Documentation
0.9.5
Preview features
- Recognize all symbols named
TYPE_CHECKINGforin_type_checking_block(#15719)- [
flake8-comprehensions] Handle builtins at top of file correctly forunnecessary-dict-comprehension-for-iterable(C420) (#15837)- [
flake8-logging].exception()andexc_info=outside exception handlers (LOG004,LOG014) (#15799)- [
flake8-pyi] Fix incorrect behaviour ofcustom-typevar-return-typepreview-mode autofix iftypingwas already imported (PYI019) (#15853)- [
flake8-pyi] Fix more complex cases (PYI019) (#15821)- [
flake8-pyi] MakePYI019autofixable for.pyfiles in preview mode as well as stubs (#15889)- [
flake8-pyi] Remove type parameter correctly when it is the last (PYI019) (#15854)
... (truncated)
Commits
524cf6eBump version to 0.9.6 (#16074)857cf0dRevert tailwindcss v4 update (#16075)0f1eb1eImprove migration document (#16072)b69eb90Fix reference definition labels for backtick-quoted shortcut links (#16035)d2f661fRUF009 should behave similar to B008 and ignore attributes with immutable typ...07cf885[pylint] Also report when the object isn't a literal (PLE1310) (#15985)c089896Update Rust crate rustc-hash to v2.1.1 (#16060)869a954Root exclusions in the server to project root (#16043)cc0a5ddDirectly includeSettingsstruct for the server (#16042)b54e390Update Rust crate clap to v4.5.28 (#16059)- 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)