Skip to content

[v3-0-test] Upgrade ruff to latest version (0.12.1) (#52562)#124

Closed
meldiner wants to merge 2 commits intobase-pr-54406from
pr-54406
Closed

[v3-0-test] Upgrade ruff to latest version (0.12.1) (#52562)#124
meldiner wants to merge 2 commits intobase-pr-54406from
pr-54406

Conversation

@meldiner
Copy link
Collaborator

@meldiner meldiner commented Feb 6, 2026

Backports apache#52562

(cherry picked from commit 4b8cd25)

Co-authored-by: Jarek Potiuk jarek@potiuk.com


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

potiuk and others added 2 commits February 6, 2026 14:42
Fixes apache#52551

(cherry picked from commit 4b8cd25)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@meldiner meldiner closed this Feb 6, 2026
@meldiner
Copy link
Collaborator Author

meldiner commented Feb 6, 2026

@violetnspct e2e-test

@meldiner meldiner deleted the pr-54406 branch February 6, 2026 22:42
@shkhrgpt
Copy link

shkhrgpt commented Feb 7, 2026

@violetnspct e2e-test all

@violetnspct
Copy link

violetnspct bot commented Feb 7, 2026

Test Scenarios for PR Requirements

The following test scenarios validate the requirements addressed in this PR:

  • Verify ruff 0.12.1 installation by running 'pip list | grep ruff' and confirming the exact version 0.12.1 is installed

  • Execute 'ruff check .' command on the codebase and verify it completes successfully without errors, confirming the new version can lint existing code

  • Execute 'ruff format .' command on the codebase and verify it completes successfully without making unexpected changes, confirming formatting behavior is preserved

  • Run 'git commit' on a test file change and verify pre-commit hooks execute successfully with ruff 0.12.1, confirming the upgrade works in the automated development workflow

  • Parse pyproject.toml files in devel-common/ and task-sdk/ directories and verify they contain 'ruff==0.12.1' dependency specification

  • Parse .pre-commit-config.yaml file and verify it references ruff version 0.12.1 in the hooks configuration

  • Create a Python file with intentional linting violations, run 'ruff check' on it, and verify ruff 0.12.1 correctly identifies and reports the violations with expected error messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants