Skip to content

Bump ruff from 0.4.8 to 0.4.9

Ronan Amicel requested to merge dependabot-pip-ruff-0.4.9 into main

Bumps ruff from 0.4.8 to 0.4.9.

Release notes

Sourced from ruff's releases.

v0.4.9

Changes

Preview features

  • [pylint] Implement consider-dict-items (C0206) (#11688)
  • [refurb] Implement repeated-global (FURB154) (#11187)

Rule changes

  • [pycodestyle] Adapt fix for E203 to work identical to ruff format (#10999)

Formatter

  • Fix formatter instability for lines only consisting of zero-width characters (#11748)

Server

  • Add supported commands in server capabilities (#11850)
  • Use real file path when available in ruff server (#11800)
  • Improve error message when a command is run on an unavailable document (#11823)
  • Introduce the ruff.printDebugInformation command (#11831)
  • Tracing system now respects log level and trace level, with options to log to a file (#11747)

CLI

  • Handle non-printable characters in diff view (#11687)

Bug fixes

  • [refurb] Avoid suggesting starmap when arguments are used outside call (FURB140) (#11830)
  • [flake8-bugbear] Avoid panic in B909 when checking large loop blocks (#11772)
  • [refurb] Fix misbehavior of operator.itemgetter when getter param is a tuple (FURB118) (#11774)

Contributors

Changelog

Sourced from ruff's changelog.

0.4.9

Preview features

  • [pylint] Implement consider-dict-items (C0206) (#11688)
  • [refurb] Implement repeated-global (FURB154) (#11187)

Rule changes

  • [pycodestyle] Adapt fix for E203 to work identical to ruff format (#10999)

Formatter

  • Fix formatter instability for lines only consisting of zero-width characters (#11748)

Server

  • Add supported commands in server capabilities (#11850)
  • Use real file path when available in ruff server (#11800)
  • Improve error message when a command is run on an unavailable document (#11823)
  • Introduce the ruff.printDebugInformation command (#11831)
  • Tracing system now respects log level and trace level, with options to log to a file (#11747)

CLI

  • Handle non-printable characters in diff view (#11687)

Bug fixes

  • [refurb] Avoid suggesting starmap when arguments are used outside call (FURB140) (#11830)
  • [flake8-bugbear] Avoid panic in B909 when checking large loop blocks (#11772)
  • [refurb] Fix misbehavior of operator.itemgetter when getter param is a tuple (FURB118) (#11774)
Commits
  • 4f49e91 Bump version to v0.4.9 (#11872)
  • d681a45 Make ruff_db a required crate for ruff_python_semantic (#11874)
  • 89bb07c UPDATE latest supported versions to 3.13 (#11870)
  • fe462b3 Update Python compatibility to 3.13 (#11861)
  • c5bc368 [red-knot] Improve Vfs and FileSystem documentation (#11856)
  • 73370fe Use starts_with('/') instead of is_absolute to avoid platform specific AP...
  • 22b6488 red-knot: Add directory support to MemoryFileSystem (#11825)
  • d4dd96d red-knot: source_text, line_index, and parsed_module queries (#11822)
  • efbf7b1 red-knot[salsa part 2]: Setup semantic DB and Jar (#11837)
  • 9dc226b Add supported commands in server capabilities (#11850)
  • Additional commits viewable in compare view

Merge request reports