Build(deps-dev): bump ruff from 0.11.0 to 0.11.2
Bumps ruff from 0.11.0 to 0.11.2.
Release notes
Sourced from ruff's releases.
0.11.2
Release Notes
Preview features
- [syntax-errors] Fix false-positive syntax errors emitted for annotations on variadic parameters before Python 3.11 (#16878)
Contributors
Install ruff 0.11.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.2/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.2/ruff-installer.ps1 | iex"
Download ruff 0.11.2
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 ruff-x86_64-pc-windows-msvc.zip x64 Windows checksum ruff-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum ruff-i686-unknown-linux-gnu.tar.gz x86 Linux checksum ruff-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum ruff-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum ruff-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum ruff-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum ruff-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum ruff-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum ruff-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum ruff-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum ruff-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
... (truncated)
Changelog
Sourced from ruff's changelog.
0.11.2
Preview features
- [syntax-errors] Fix false-positive syntax errors emitted for annotations on variadic parameters before Python 3.11 (#16878)
0.11.1
Preview features
- [
airflow
] Addchain
,chain_linear
andcross_downstream
forAIR302
(#16647)- [syntax-errors] Improve error message and range for pre-PEP-614 decorator syntax errors (#16581)
- [syntax-errors] PEP 701 f-strings before Python 3.12 (#16543)
- [syntax-errors] Parenthesized context managers before Python 3.9 (#16523)
- [syntax-errors] Star annotations before Python 3.11 (#16545)
- [syntax-errors] Star expression in index before Python 3.11 (#16544)
- [syntax-errors] Unparenthesized assignment expressions in sets and indexes (#16404)
Bug fixes
- Server: Allow
FixAll
action in presence of version-specific syntax errors (#16848)- [
flake8-bandit
] Allow raw strings insuspicious-mark-safe-usage
(S308
) #16702 (#16770)- [
refurb
] Avoid panickingunwrap
inverbose-decimal-constructor
(FURB157
) (#16777)- [
refurb
] Fix starred expressions fix (FURB161
) (#16550)- Fix
--statistics
reporting for unsafe fixes (#16756)Rule changes
- [
flake8-executables
] Allowuv run
in shebang line forshebang-missing-python
(EXE003
) (#16849,#16855)CLI
- Add
--exit-non-zero-on-format
(#16009)Documentation
Commits
-
4773878
Bump 0.11.2 (#16896) -
2a4d835
Use the commonOperatorPrecedence
for the parser (#16747) -
04a8756
[red-knot] Check subtype relation between callable types (#16804) -
193c381
[red-knot] Check whether two callable types are equivalent (#16698) -
63e78b4
[red-knot] Ban mostType::Instance
types in type expressions (#16872) -
296d67a
Special-case value-expression inference of special form subscriptions (#16877) -
42cbce5
[syntax-errors] Fix star annotation before Python 3.11 (#16878) -
6760251
RecognizeSyntaxError:
as an error code for ecosystem checks (#16879) -
23382f5
[red-knot] add test cases result in false positive errors (#16856) -
c1971fd
Bump 0.11.1 (#16871) - Additional commits viewable in compare view