mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 07:37:38 +00:00
Docs: mention lint.typing-modules
in TCH001
, TCH002
, TCH003
(#11144)
## Summary Mention `lint.typing-modules` in `TCH001`, `TCH002`, `TCH003`; close #11142.
This commit is contained in:
parent
4690890e9f
commit
f428bd5052
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,7 @@ use crate::rules::isort::{categorize, ImportSection, ImportType};
|
|||
/// - `lint.flake8-type-checking.quote-annotations`
|
||||
/// - `lint.flake8-type-checking.runtime-evaluated-base-classes`
|
||||
/// - `lint.flake8-type-checking.runtime-evaluated-decorators`
|
||||
/// - `lint.typing-modules`
|
||||
///
|
||||
/// ## References
|
||||
/// - [PEP 536](https://peps.python.org/pep-0563/#runtime-annotation-resolution-and-type-checking)
|
||||
|
@ -140,6 +141,7 @@ impl Violation for TypingOnlyFirstPartyImport {
|
|||
/// - `lint.flake8-type-checking.quote-annotations`
|
||||
/// - `lint.flake8-type-checking.runtime-evaluated-base-classes`
|
||||
/// - `lint.flake8-type-checking.runtime-evaluated-decorators`
|
||||
/// - `lint.typing-modules`
|
||||
///
|
||||
/// ## References
|
||||
/// - [PEP 536](https://peps.python.org/pep-0563/#runtime-annotation-resolution-and-type-checking)
|
||||
|
@ -213,6 +215,7 @@ impl Violation for TypingOnlyThirdPartyImport {
|
|||
/// - `lint.flake8-type-checking.quote-annotations`
|
||||
/// - `lint.flake8-type-checking.runtime-evaluated-base-classes`
|
||||
/// - `lint.flake8-type-checking.runtime-evaluated-decorators`
|
||||
/// - `lint.typing-modules`
|
||||
///
|
||||
/// ## References
|
||||
/// - [PEP 536](https://peps.python.org/pep-0563/#runtime-annotation-resolution-and-type-checking)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue