Skip to content

Commit

Permalink
Docs: mention lint.typing-modules in TCH001, TCH002, TCH003 (#…
Browse files Browse the repository at this point in the history
…11144)

## Summary

Mention `lint.typing-modules` in `TCH001`, `TCH002`, `TCH003`; close
#11142.
  • Loading branch information
bersbersbers committed Apr 25, 2024
1 parent 4690890 commit f428bd5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f428bd5

Please sign in to comment.