Skip to content

Enable ruff PLW1510 rule#57660

Merged
jscheffl merged 2 commits intoapache:mainfrom
jscheffl:feature/add-ruff-plw1510-rule
Nov 1, 2025
Merged

Enable ruff PLW1510 rule#57660
jscheffl merged 2 commits intoapache:mainfrom
jscheffl:feature/add-ruff-plw1510-rule

Conversation

@jscheffl
Copy link
Copy Markdown
Contributor

While implementing #57294 I realized that a couple of more ruff PLW rules might be interesting, this PR enables PLW1510

See also https://docs.astral.sh/ruff/rules/#warning-plw

@jscheffl jscheffl force-pushed the feature/add-ruff-plw1510-rule branch from 8ad5e8d to dc6fbc3 Compare November 1, 2025 09:10
@jscheffl jscheffl merged commit a79d8db into apache:main Nov 1, 2025
209 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 1, 2025

Backport failed to create: v3-1-test. View the failure log Run details

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker a79d8db v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

jscheffl added a commit to jscheffl/airflow that referenced this pull request Nov 1, 2025
* Enable ruff PLW1510 rule

* Exclude prek check for run_command
(cherry picked from commit a79d8db)

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
jscheffl added a commit that referenced this pull request Nov 1, 2025
* Enable ruff PLW1510 rule

* Exclude prek check for run_command
(cherry picked from commit a79d8db)
ephraimbuddy pushed a commit that referenced this pull request Nov 3, 2025
* Enable ruff PLW1510 rule

* Exclude prek check for run_command
(cherry picked from commit a79d8db)
ephraimbuddy pushed a commit that referenced this pull request Nov 4, 2025
* Enable ruff PLW1510 rule

* Exclude prek check for run_command
(cherry picked from commit a79d8db)
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
* Enable ruff PLW1510 rule

* Exclude prek check for run_command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:providers provider:amazon AWS/Amazon - related issues provider:celery provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants