ColtenOuO opened a new pull request, #66178: URL: https://github.com/apache/airflow/pull/66178
## Summary Re-enables the `SIM105` ruff rule by: 1. Replacing all 24 `try-except-pass` blocks across 17 files with `contextlib.suppress(...)`. 2. Moving `"SIM105"` from `lint.ignore` back to `lint.extend-select` in [`pyproject.toml`](https://github.com/apache/airflow/blob/main/pyproject.toml). ## Why this change `SIM105` was originally enabled in #49251, which fixed all `try-except-pass` violations across the codebase. It was later moved to `lint.ignore` as a side-effect of #53475 (a kubernetes pod-operator asyncio refactor) — the move was undocumented in that PR's description and appears to have been a temporary workaround to land that change. This PR finishes the cleanup: all violations that have accumulated since then are addressed, and the rule is restored to its enforcing state. ## Verification - `ruff check --select SIM105 .` → `All checks passed!` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
