Skip to content

0.11.9

Compare
Choose a tag to compare
@github-actions github-actions released this 09 May 16:25
2370297

Release Notes

Preview features

  • Default to latest supported Python version for version-related syntax errors (#17529)
  • Implement deferred annotations for Python 3.14 (#17658)
  • [airflow] Fix SQLTableCheckOperator typo (AIR302) (#17946)
  • [airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) (#17852)
  • [airflow] Skip attribute check in try catch block (AIR301) (#17790)
  • [flake8-bandit] Mark tuples of string literals as trusted input in S603 (#17801)
  • [isort] Check full module path against project root(s) when categorizing first-party imports (#16565)
  • [ruff] Add new rule in-empty-collection (RUF060) (#16480)

Bug fixes

  • Fix missing combine call for lint.typing-extensions setting (#17823)
  • [flake8-async] Fix module name in ASYNC110, ASYNC115, and ASYNC116 fixes (#17774)
  • [pyupgrade] Add spaces between tokens as necessary to avoid syntax errors in UP018 autofix (#17648)
  • [refurb] Fix false positive for float and complex numbers in FURB116 (#17661)
  • [parser] Flag single unparenthesized generator expr with trailing comma in arguments. (#17893)

Documentation

  • Add instructions on how to upgrade to a newer Rust version (#17928)
  • Update code of conduct email address (#17875)
  • Add fix safety sections to PLC2801, PLR1722, and RUF013 (#17825, #17826, #17759)
  • Add link to check-typed-exception from S110 and S112 (#17786)

Other changes

  • Allow passing a virtual environment to ruff analyze graph (#17743)

Contributors

Install ruff 0.11.9

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.9/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.9/ruff-installer.ps1 | iex"

Download ruff 0.11.9

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
ruff-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum