Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Recode TRY302 to TRY203 #13502

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Recode TRY302 to TRY203 #13502

merged 1 commit into from
Oct 8, 2024

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

@AlexWaygood AlexWaygood changed the base branch from main to ruff-0.7 October 8, 2024 13:13
@zanieb zanieb marked this pull request as ready for review October 8, 2024 15:29
@AlexWaygood AlexWaygood merged commit 5ab905c into ruff-0.7 Oct 8, 2024
20 checks passed
@AlexWaygood AlexWaygood deleted the zb/try203 branch October 8, 2024 16:41
AlexWaygood pushed a commit that referenced this pull request Oct 17, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recode TRY302 to TRY203
2 participants