Skip to content

Enable ruff PLW1510 rule - #57660

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

Enable ruff PLW1510 rule#57660
jscheffl merged 2 commits into
apache: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
jschefflforce-pushed the feature/add-ruff-plw1510-rule branch from 8ad5e8d to dc6fbc3CompareNovember 1, 2025 09:10
@jscheffl
jscheffl merged commit a79d8db into apache:mainNov 1, 2025
209 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

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

StatusBranchResult
v3-1-testCommit 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)
CopilotAI 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-toolsarea:providersprovider:amazonAWS/Amazon - related issuesprovider:celeryprovider:googleGoogle (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jscheffl@bugraoz93@eladkal@jason810496