Skip to content

Commit

Permalink
Update explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored and Pierre-Sassoulas committed Jun 10, 2021
1 parent 9767d14 commit 90d8a90
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pylint/extensions/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,13 @@ class TypingChecker(BaseChecker):
"type": "yn",
"metavar": "<y_or_n>",
"help": (
"Set to ``no`` if the app / library does NOT need to "
"Set to ``no`` if the app / library does **NOT** need to "
"support runtime introspection of type annotations. "
"Only change it if you understand what that means. "
"Applies to Python version 3.7 - 3.9"
"If you use type annotations **exclusively** for type checking "
"of an application, you're probably fine. For libraries, "
"evaluate if some users what to access the type hints "
"at runtime first, e.g., through ``typing.get_type_hints``. "
"Applies to Python versions 3.7 - 3.9"
),
},
),
Expand Down

0 comments on commit 90d8a90

Please sign in to comment.