commit 74aab826e4feed2207c025353d2722eeaf949cf7 from: Jelmer Vernooij via: GitHub date: Mon Jun 17 18:15:13 2024 UTC Bump ruff from 0.4.8 to 0.4.9 (#1336) Bumps [ruff](https://github.com/astral-sh/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

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.4.8&new-version=0.4.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
commit - f9b09affb6861faf9eeb081842c9e0da9ad5597a commit + 74aab826e4feed2207c025353d2722eeaf949cf7 blob - 0587e4d582b89b15c9d6aebb133308abb47771df blob + 37bdba09114ab64d2e0fa063108d3dca1e216c91 --- pyproject.toml +++ pyproject.toml @@ -41,7 +41,7 @@ https = ["urllib3>=1.24.1"] pgp = ["gpg"] paramiko = ["paramiko"] dev = [ - "ruff==0.4.8" + "ruff==0.4.9" ] [project.scripts]