Skip to content

Ruff 0.15.10#986

Merged
Toshyb13 merged 16 commits into
mainfrom
ruff-0.15.10
Jun 16, 2026
Merged

Ruff 0.15.10#986
Toshyb13 merged 16 commits into
mainfrom
ruff-0.15.10

Conversation

@armanddidierjean

Copy link
Copy Markdown
Member

Description

Summary

Ruff 0.15.10 compatibility

Required PRs

Requires #985

Classification

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • 🔧 Infra CI/CD (changes to configs of workflows)
  • 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
  • 😶‍🌫️ No impact for the end-users

Impact & Scope

  • Core functionality changes
  • Single module changes
  • Multiple modules changes
  • Database migrations required
  • Other: ...

Testing

  • 1. Tested this locally
  • 2. Added/modified tests that pass the CI (or tested in a downstream fork)
  • 3. Tested in a deployed pre-prod
  • 0. Untestable (exceptionally), will be tested in prod directly

Documentation

  • Updated the docs accordingly :
  • " Docstrings
  • # Inline comments
  • No documentation needed

@armanddidierjean armanddidierjean added code quality dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 12, 2026
@codecov

codecov Bot commented Apr 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.42%. Comparing base (764a6ab) to head (24e76bc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #986      +/-   ##
==========================================
- Coverage   84.43%   84.42%   -0.01%     
==========================================
  Files         206      206              
  Lines       14956    14948       -8     
==========================================
- Hits        12628    12620       -8     
  Misses       2328     2328              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This was referenced Apr 13, 2026
Base automatically changed from anyio to main June 5, 2026 23:19
@armanddidierjean armanddidierjean marked this pull request as ready for review June 7, 2026 15:02

@Marc-Andrieu Marc-Andrieu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get the removal of target-version = "py314" in the pyproject.toml and the r"" in the test utils... that's all

As @Luhmos promised, that was actually a rapid review! Good job

@armanddidierjean

armanddidierjean commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

I don't get the removal of target-version = "py314" @Marc-Andrieu

It was in contradiction with "requires-python = ">= 3.12, < 3.15": we allowed for Python 3.12 but asked Ruff to make changes targeting 3.14

Ruff documentation also recommand the usage of project.requires-python instead of target-version

@armanddidierjean

Copy link
Copy Markdown
Member Author

the r"" in the test utils @Marc-Andrieu

pytest.raises's match argument ask for a regex, the good practice seems to be the usage of a raw string. This change was done automatically by ruff

@Toshyb13 Toshyb13 merged commit 5c09274 into main Jun 16, 2026
11 checks passed
@Toshyb13 Toshyb13 deleted the ruff-0.15.10 branch June 16, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants