Skip to content

Commit 70c836f

Browse files
committed
Disable by default
1 parent 7644ff2 commit 70c836f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pylint/checkers/variables.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ def _has_locals_call_after_node(stmt: nodes.NodeNG, scope: nodes.FunctionDef) ->
464464
"`%s` used only for typechecking but imported outside of a typechecking block",
465465
"unguarded-typing-import",
466466
"Used when an import is used only for typechecking but imported outside of a typechecking block.",
467+
{"default_enabled": False},
467468
),
468469
"W0621": (
469470
"Redefining name %r from outer scope (line %s)",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[MESSAGES CONTROL]
2+
enable = unguarded-typing-import

0 commit comments

Comments
 (0)