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

Recode TRY302 to TRY203 #13502

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Recode TRY302 to TRY203 #13502

wants to merge 1 commit into from

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Sep 24, 2024

Closes #13492

@zanieb zanieb added this to the v0.7 milestone Sep 24, 2024
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+2 -2 violations, +0 -0 fixes in 1 projects; 53 projects unchanged)

apache/airflow (+2 -2 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --no-preview --select ALL

+ airflow/providers/cncf/kubernetes/hooks/kubernetes.py:493:9: TRY203 Remove exception handler; error is immediately re-raised
- airflow/providers/cncf/kubernetes/hooks/kubernetes.py:493:9: TRY302 Remove exception handler; error is immediately re-raised
+ airflow/providers/cncf/kubernetes/operators/pod.py:802:9: TRY203 Remove exception handler; error is immediately re-raised
- airflow/providers/cncf/kubernetes/operators/pod.py:802:9: TRY302 Remove exception handler; error is immediately re-raised

Changes by rule (2 rules affected)

code total + violation - violation + fix - fix
TRY203 2 2 0 0 0
TRY302 2 0 2 0 0

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+2 -2 violations, +0 -0 fixes in 1 projects; 53 projects unchanged)

apache/airflow (+2 -2 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL

+ airflow/providers/cncf/kubernetes/hooks/kubernetes.py:493:9: TRY203 Remove exception handler; error is immediately re-raised
- airflow/providers/cncf/kubernetes/hooks/kubernetes.py:493:9: TRY302 Remove exception handler; error is immediately re-raised
+ airflow/providers/cncf/kubernetes/operators/pod.py:802:9: TRY203 Remove exception handler; error is immediately re-raised
- airflow/providers/cncf/kubernetes/operators/pod.py:802:9: TRY302 Remove exception handler; error is immediately re-raised

Changes by rule (2 rules affected)

code total + violation - violation + fix - fix
TRY203 2 2 0 0 0
TRY302 2 0 2 0 0

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.

Recode TRY302 to TRY203
1 participant