thread
thread copied to clipboard
chore(deps-dev): bump ruff from 0.8.6 to 0.11.4
Bumps ruff from 0.8.6 to 0.11.4.
Release notes
Sourced from ruff's releases.
0.11.4
Release Notes
Preview features
- [
ruff] Implementinvalid-rule-codeasRUF102(#17138)- [syntax-errors] Detect duplicate keys in
matchmapping patterns (#17129)- [syntax-errors] Detect duplicate attributes in
matchclass patterns (#17186)- [syntax-errors] Detect invalid syntax in annotations (#17101)
Bug fixes
- [syntax-errors] Fix multiple assignment error for class fields in
matchpatterns (#17184)- Don't skip visiting non-tuple slice in
typing.Annotatedsubscripts (#17201)Contributors
@AlexWaygood@Daverball@Gankra@MichaReiser@carljm@dcreager@dylwil3@maxmynter@ntBre@sharkdpInstall ruff 0.11.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.4/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.4/ruff-installer.ps1 | iex"Download ruff 0.11.4
File Platform Checksum ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum ruff-i686-pc-windows-msvc.zip x86 Windows checksum
... (truncated)
Changelog
Sourced from ruff's changelog.
0.11.4
Preview features
- [
ruff] Implementinvalid-rule-codeasRUF102(#17138)- [syntax-errors] Detect duplicate keys in
matchmapping patterns (#17129)- [syntax-errors] Detect duplicate attributes in
matchclass patterns (#17186)- [syntax-errors] Detect invalid syntax in annotations (#17101)
Bug fixes
- [syntax-errors] Fix multiple assignment error for class fields in
matchpatterns (#17184)- Don't skip visiting non-tuple slice in
typing.Annotatedsubscripts (#17201)0.11.3
Preview features
- [
airflow] Add more autofixes forAIR302(#16876, #16977, #16976, #16965)- [
airflow] MoveAIR301toAIR002(#16978)- [
airflow] MoveAIR302toAIR301andAIR303toAIR302(#17151)- [
flake8-bandit] Markstrandlist[str]literals as trusted input (S603) (#17136)- [
ruff] Support slices inRUF005(#17078)- [syntax-errors] Start detecting compile-time syntax errors (#16106)
- [syntax-errors] Duplicate type parameter names (#16858)
- [syntax-errors] Irrefutable
casepattern before final case (#16905)- [syntax-errors] Multiple assignments in
casepattern (#16957)- [syntax-errors] Single starred assignment target (#17024)
- [syntax-errors] Starred expressions in
return,yield, andfor(#17134)- [syntax-errors] Store to or delete
__debug__(#16984)Bug fixes
- Error instead of
panic!when running Ruff from a deleted directory (#16903) (#17054)- [syntax-errors] Fix false positive for parenthesized tuple index (#16948)
CLI
- Check
pyproject.tomlcorrectly when it is passed via stdin (#16971)Configuration
- [
flake8-import-conventions] Add importnumpy.typing as nptto defaultflake8-import-conventions.aliases(#17133)Documentation
- [
refurb] Document whyUserDict,UserList, andUserStringare preferred overdict,list, andstr(FURB189) (#16927)0.11.2
... (truncated)
Commits
95d6ed4Bump 0.11.4 (#17212)acc5662[syntax-errors] Allowyieldin base classes and annotations (#17206)33a56f1Don't skip visiting non-tuple slice intyping.Annotatedsubscripts (#17201)5cee346[red-knot] mypy_primer: do not specify Python version (#17200)ffa824e[red-knot] AddType.definitionmethod (#17153)98b95c9ImplementInvalid rule providedas rule RUF102 with--fix(#17138)a4ba10f[red-knot] Add basic on-hover to playground and LSP (#17057)bf03068[red-knot] don't remove negations when simplifying constrained typevars (#17189)4f924bb[minor] Fix extra semicolon for clippy (#17188)c2b2e42[syntax-errors] Invalid syntax in annotations (#17101)- 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)