Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency ruff to v0.9.7 #1565

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Update dependency ruff to v0.9.7 #1565

merged 1 commit into from
Feb 20, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) 0.9.6 -> 0.9.7 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff)

v0.9.7

Compare Source

Preview features
  • Consider __new__ methods as special function type for enforcing class method or static method rules (#​13305)
  • [airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#​16013)
  • [refurb] Manual timezone monkeypatching (FURB162) (#​16113)
  • [ruff] Implicit class variable in dataclass (RUF045) (#​14349)
  • [ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#​16083)
  • [refurb] Check for subclasses includes subscript expressions (FURB189) (#​16155)
Rule changes
  • [flake8-comprehensions]: Handle trailing comma in C403 fix (#​16110)
  • [flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#​16191)
  • [pydocstyle] Handle arguments with the same names as sections (D417) (#​16011)
  • [pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#​16080)
  • [pylint] Do not offer fix for raw strings (PLE251) (#​16132)
  • [pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#​16219)
  • [pyupgrade] Handle micro version numbers correctly (UP036) (#​16091)
  • [pyupgrade] Unwrap unary expressions correctly (UP018) (#​15919)
  • [ruff] Skip RUF001 diagnostics when visiting string type definitions (#​16122)
  • [flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#​16141)
  • [pycodestyle] Exempt site.addsitedir(...) calls (E402) (#​16251)
Formatter
  • Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#​16187)
Server
  • Fix handling of requests received after shutdown message (#​16262)
  • Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#​16154)
  • Include document specific debug info for ruff.printDebugInformation (#​16215)
  • Update server to return the debug info as string with ruff.printDebugInformation (#​16214)
CLI
  • Warn on invalid noqa even when there are no diagnostics (#​16178)
  • Better error messages while loading configuration extends (#​15658)
Bug fixes
  • [refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#​16237)
Documentation
  • Add FAQ entry for source.* code actions in Notebook (#​16212)
  • Add SECURITY.md (#​16224)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.77%. Comparing base (0ce9795) to head (14f4717).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1565   +/-   ##
=======================================
  Coverage   95.77%   95.77%           
=======================================
  Files         300      300           
  Lines        5379     5379           
=======================================
  Hits         5152     5152           
  Misses        227      227           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 8844db7 into master Feb 20, 2025
10 checks passed
@renovate renovate bot deleted the renovate/ruff-0.x branch February 20, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants