ruff
118c14fc - [`pylint`] Gate `ImportCycleError` on Python 3.15 (`PLW0133`) (#28310)

Commit
7 days ago
[`pylint`] Gate `ImportCycleError` on Python 3.15 (`PLW0133`) (#28310) Fix PLW0133's Python version gating for `ImportCycleError`. `ImportCycleError` was added in Python 3.15, but Ruff currently treats it as available starting in Python 3.13. This updates the builtin exception classification so that: - `PythonFinalizationError` remains available for Python 3.13+ - `ImportCycleError` is only considered available for Python 3.15+ Also adds regression coverage for the behavior across target Python versions. Closes part of #28206.
Author
Parents
Loading