ruff
[`flake8-type-checking`] Avoid `strict` behavior when `future-annotations` are enabled (`TC001`, `TC002`, `TC003`)
#25035
Merged

[`flake8-type-checking`] Avoid `strict` behavior when `future-annotations` are enabled (`TC001`, `TC002`, `TC003`) #25035

shivamtiwari3
shivamtiwari3 Fix: future_annotations incorrectly enables strict-mode for TC001/TC0…
29e0e756
astral-sh-bot astral-sh-bot assigned ntBre ntBre 159 days ago
astral-sh-bot astral-sh-bot requested a review from ntBre ntBre 159 days ago
ntBre
ntBre commented on 2026-05-13
ntBre ntBre added bug
shivamtiwari3 Address review: simplify comment, use assert_diagnostics!, trim fixtu…
0cda6065
shivamtiwari3
ntBre
ntBre approved these changes on 2026-05-15
ntBre ntBre changed the title Fix: `future_annotations` incorrectly enables strict-mode behavior for `TC001`/`TC002`/`TC003` (fixes #23185) [`flake8-type-checking`] Avoid `strict` behavior when `future-annotations` are enabled (`TC001`, `TC002`, `TC003`) 151 days ago
ntBre ntBre merged 5ace2a89 into main 151 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone