mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
## Summary Fixes #19842 Prevent infinite loop with I002 and UP026 - Implement isort-aware handling for UP026 (deprecated mock import): - Add CLI integration tests in crates/ruff/tests/lint.rs: ## Test Plan I have added two integration tests `pyupgrade_up026_respects_isort_required_import_fix` and `pyupgrade_up026_respects_isort_required_import_from_fix` in `crates/ruff/tests/lint.rs`.