pylint icon indicating copy to clipboard operation
pylint copied to clipboard

Add new check: `unguarded-typing-import`

Open nickdrozd opened this issue 1 year ago • 24 comments

Type of Changes

Type
:sparkles: New feature

Description

This PR adds a new check to warn about imports that are used only for typechecking but are imported outside of the TYPE_CHECKING flag. These are imported at runtime but not used at runtime. As far as I can tell, there is no good reason to do this, and I assume that such imports are a slight drag on speed and possibly memory as well.

There is the question of whether or not this check should be enabled by default. As can be seen from the output below, it will raise a lot of warnings on codebases that are large and have a lot of typechecking. These are not false negatives or noise: they really are runtime imports that are not used at runtime. Code that doesn't use type annotations will not be affected. My feeling is that the kind of people who use Python annotations are generally on the fastidious side to begin with, and would be interested to know whether they are doing any useless runtime importing.

The initial form of this PR includes only the check (enabled). There are associated tasks that need to be done (testing, documentation, fixing warnings in Pylint itself, etc), but I will get to these after some discussion.

Surprisingly, it seems to mostly work! I am aware of one bug at the moment, and I don't know the cause yet.

TODO:

  • [ ] Find and fix bugs
  • [x] Add new tests
  • [ ] ~~Update existing tests~~
  • [ ] Add documentation
  • [ ] ~~Address warnings in Pylint~~

Closes #8111

nickdrozd avatar Sep 24 '24 20:09 nickdrozd

🤖 Effect of this PR on checked open source code: 🤖

Effect on astroid: The following messages are now emitted:

  1. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/test_utils.py#L13
  2. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L11
  3. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14
  4. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14
  5. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/typing.py#L8
  6. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12
  7. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12
  8. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13
  9. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13
  10. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30
  11. import-used-only-for-typechecking: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30
  12. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30
  13. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L19
  14. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L21
  15. import-used-only-for-typechecking: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L28
  16. import-used-only-for-typechecking: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30
  17. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30
  18. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30
  19. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16
  20. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16
  21. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18
  22. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18
  23. import-used-only-for-typechecking: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18
  24. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L21
  25. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31
  26. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31
  27. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14
  28. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14
  29. import-used-only-for-typechecking: TokenInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L16
  30. import-used-only-for-typechecking: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L17
  31. import-used-only-for-typechecking: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L20
  32. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L22
  33. import-used-only-for-typechecking: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L23
  34. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L26
  35. import-used-only-for-typechecking: ast used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L13
  36. import-used-only-for-typechecking: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L16
  37. import-used-only-for-typechecking: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18
  38. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18
  39. import-used-only-for-typechecking: TextIOWrapper used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L19
  40. import-used-only-for-typechecking: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L23
  41. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9
  42. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9
  43. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L10
  44. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12
  45. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12
  46. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  47. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  48. import-used-only-for-typechecking: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  49. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  50. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L15
  51. import-used-only-for-typechecking: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28
  52. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28
  53. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28
  54. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L10
  55. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L22
  56. import-used-only-for-typechecking: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L14
  57. import-used-only-for-typechecking: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16
  58. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16
  59. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16
  60. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17
  61. import-used-only-for-typechecking: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17
  62. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L20
  63. import-used-only-for-typechecking: AstroidManagerBrain used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37
  64. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37
  65. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L10
  66. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L11
  67. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L13
  68. import-used-only-for-typechecking: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16
  69. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16
  70. import-used-only-for-typechecking: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16
  71. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9
  72. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9
  73. import-used-only-for-typechecking: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9
  74. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L29
  75. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L39
  76. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L16
  77. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13
  78. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13
  79. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L19
  80. import-used-only-for-typechecking: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/transforms.py#L13
  81. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L10
  82. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L14
  83. import-used-only-for-typechecking: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L17
  84. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/arguments.py#L11
  85. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L567
  86. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L30
  87. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32
  88. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32
  89. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40
  90. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40
  91. import-used-only-for-typechecking: _NamespacePath used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/util.py#L10
  92. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L124
  93. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L125
  94. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L126
  95. import-used-only-for-typechecking: pathlib used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L13
  96. import-used-only-for-typechecking: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L15
  97. import-used-only-for-typechecking: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18
  98. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18
  99. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18
  100. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L21
  101. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10
  102. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10
  103. import-used-only-for-typechecking: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13
  104. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13
  105. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13
  106. import-used-only-for-typechecking: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L36
  107. import-used-only-for-typechecking: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37
  108. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37
  109. import-used-only-for-typechecking: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37
  110. import-used-only-for-typechecking: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L40
  111. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16
  112. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16
  113. import-used-only-for-typechecking: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16
  114. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18
  115. import-used-only-for-typechecking: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18
  116. import-used-only-for-typechecking: Context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L29
  117. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L49
  118. import-used-only-for-typechecking: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L57
  119. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L13
  120. import-used-only-for-typechecking: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15
  121. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15
  122. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/as_string.py#L10
  123. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/mixin.py#L15
  124. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/mixin.py#L15
  125. undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L376
  126. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L1622
  127. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L2867
  128. import-used-only-for-typechecking: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  129. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  130. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  131. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  132. import-used-only-for-typechecking: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  133. import-used-only-for-typechecking: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  134. import-used-only-for-typechecking: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  135. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  136. import-used-only-for-typechecking: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  137. import-used-only-for-typechecking: Const used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  138. import-used-only-for-typechecking: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L54
  139. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  140. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  141. import-used-only-for-typechecking: InferBinaryOp used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  142. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L10
  143. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L10
  144. import-used-only-for-typechecking: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L12
  145. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L12
  146. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L16
  147. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L28
  148. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L28
  149. import-used-only-for-typechecking: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L28
  150. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L7
  151. import-used-only-for-typechecking: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L9
  152. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L14
  153. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_function_base.py#L14
  154. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_einsumfunc.py#L10
  155. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_einsumfunc.py#L13
  156. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L5
  157. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L8
  158. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L9
  159. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L11
  160. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_attrs.py#L11
  161. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L17
  162. import-used-only-for-typechecking: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L20
  163. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L26
  164. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_http.py#L8
  165. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L5
  166. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L8
  167. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L6
  168. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L9
  169. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L27
  170. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L30
  171. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L5
  172. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L8
  173. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_uuid.py#L6
  174. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numeric.py#L9
  175. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numeric.py#L17
  176. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_boto3.py#L8
  177. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_multiprocessing.py#L9
  178. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L110
  179. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L116
  180. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L120
  181. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L11
  182. import-used-only-for-typechecking: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L13
  183. import-used-only-for-typechecking: astroid used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L15
  184. import-used-only-for-typechecking: bases used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L16
  185. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_scipy_signal.py#L6
  186. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_scipy_signal.py#L9
  187. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_signal.py#L32
  188. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L9
  189. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L12
  190. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ndarray.py#L10
  191. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ndarray.py#L12
  192. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_nose.py#L14
  193. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L7
  194. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L11
  195. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_fromnumeric.py#L6
  196. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_fromnumeric.py#L9
  197. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L7
  198. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L11
  199. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L7
  200. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L9
  201. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hypothesis.py#L19
  202. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_random_mtrand.py#L7
  203. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_random_mtrand.py#L10
  204. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L9
  205. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L13
  206. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L15
  207. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L19
  208. import-used-only-for-typechecking: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22
  209. import-used-only-for-typechecking: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22
  210. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pkg_resources.py#L5
  211. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pkg_resources.py#L8
  212. import-used-only-for-typechecking: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L7
  213. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L11
  214. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dateutil.py#L9
  215. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_umath.py#L10
  216. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_umath.py#L13
  217. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_datetime.py#L5
  218. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L13
  219. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L16
  220. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_multiarray.py#L9
  221. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_multiarray.py#L18
  222. import-used-only-for-typechecking: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L7
  223. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L12
  224. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L5
  225. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L8
  226. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L5
  227. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L8
  228. import-used-only-for-typechecking: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L11
  229. import-used-only-for-typechecking: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L13
  230. import-used-only-for-typechecking: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L15
  231. import-used-only-for-typechecking: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L27
  232. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L15
  233. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L18
  234. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pytest.py#L6
  235. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_argparse.py#L8
  236. import-used-only-for-typechecking: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_utils.py#L10
  237. import-used-only-for-typechecking: Attribute used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_utils.py#L11
  238. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ma.py#L7
  239. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ma.py#L10
  240. import-used-only-for-typechecking: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numerictypes.py#L8
  241. import-used-only-for-typechecking: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numerictypes.py#L12

Effect on home-assistant: The following messages are now emitted:

  1. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L6
  2. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L10
  3. import-used-only-for-typechecking: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L14
  4. used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L253
  5. undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L1908
  6. import-used-only-for-typechecking: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  7. import-used-only-for-typechecking: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  8. import-used-only-for-typechecking: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  9. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  10. import-used-only-for-typechecking: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L25
  11. import-used-only-for-typechecking: Platform used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L32
  12. import-used-only-for-typechecking: CALLBACK_TYPE used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33
  13. import-used-only-for-typechecking: Event used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33
  14. import-used-only-for-typechecking: DiscoveryKey used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L52
  15. import-used-only-for-typechecking: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61
  16. import-used-only-for-typechecking: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61
  17. import-used-only-for-typechecking: DiscoveryInfoType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61
  18. import-used-only-for-typechecking: Hashable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  19. import-used-only-for-typechecking: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  20. import-used-only-for-typechecking: Container used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  21. import-used-only-for-typechecking: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  22. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  23. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16
  24. import-used-only-for-typechecking: Required used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16
  25. import-used-only-for-typechecking: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L21
  26. import-used-only-for-typechecking: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L19
  27. import-used-only-for-typechecking: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L92
  28. import-used-only-for-typechecking: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11
  29. import-used-only-for-typechecking: Collection used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11 30...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit 83e81c6a7f37380e78029d72a352214aca17c3e0

github-actions[bot] avatar Sep 24 '24 21:09 github-actions[bot]

I like unguarded-typing-import.

I think the check makes sense, at least as much sense as vanilla unused-import. You can have bugs from depending on the coincidental importing of one module by another and then be surprised when a less-common code path doesn't import those modules.

I think it's likely we want this off by default, but I'm hoping to do away with the concept of extensions in 4.0, so I'm not sure we need to worry about this too much right now.

jacobtylerwalls avatar Sep 25 '24 11:09 jacobtylerwalls

I'm wondering about the perf implication in astroid. I suppose it should make the startup time better (?). if we fix astroid to always guard typing import we could benchmark it. And if it's a big improvement I would definitely be in favor of making this a default check. But think I remember that Marc or Daniel had reservation about always using typing guard and it's a lot of work to fix those 241 violations.

Regarding removing extensions, now that we have a way to disable by default in "standard checkers" we could remove extensions imo. Maybe we could open an issue to see if there are other opinions than ours.

Pierre-Sassoulas avatar Sep 25 '24 13:09 Pierre-Sassoulas

I changed the name and added a test. There are currently some false positives for undefined-variable. I don't know the cause exactly. It has to do with the name consumption logic.

I also opened a PR against Astroid to move typing imports behind the guard. It takes a little work, but it doesn't take a lot of thought. It should be easy to automate (if Pylint ever gets an autofix feature).

nickdrozd avatar Sep 25 '24 16:09 nickdrozd

🤖 Effect of this PR on checked open source code: 🤖

Effect on astroid: The following messages are now emitted:

  1. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/test_utils.py#L13
  2. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L11
  3. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14
  4. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14
  5. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/typing.py#L8
  6. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12
  7. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12
  8. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13
  9. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13
  10. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30
  11. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30
  12. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30
  13. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L19
  14. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L21
  15. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L28
  16. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30
  17. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30
  18. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30
  19. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16
  20. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16
  21. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18
  22. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18
  23. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18
  24. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L21
  25. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31
  26. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31
  27. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14
  28. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14
  29. unguarded-typing-import: TokenInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L16
  30. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L17
  31. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L20
  32. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L22
  33. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L23
  34. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L26
  35. unguarded-typing-import: ast used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L13
  36. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L16
  37. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18
  38. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18
  39. unguarded-typing-import: TextIOWrapper used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L19
  40. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L23
  41. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9
  42. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9
  43. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L10
  44. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12
  45. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12
  46. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  47. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  48. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  49. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14
  50. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L15
  51. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28
  52. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28
  53. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28
  54. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L10
  55. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L22
  56. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L14
  57. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16
  58. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16
  59. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16
  60. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17
  61. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17
  62. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L20
  63. unguarded-typing-import: AstroidManagerBrain used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37
  64. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37
  65. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L10
  66. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L11
  67. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L13
  68. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16
  69. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16
  70. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16
  71. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9
  72. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9
  73. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9
  74. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L29
  75. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L39
  76. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L16
  77. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13
  78. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13
  79. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L19
  80. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/transforms.py#L13
  81. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L10
  82. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L14
  83. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L17
  84. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/arguments.py#L11
  85. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L567
  86. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L30
  87. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32
  88. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32
  89. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40
  90. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40
  91. unguarded-typing-import: _NamespacePath used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/util.py#L10
  92. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L124
  93. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L125
  94. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L126
  95. unguarded-typing-import: pathlib used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L13
  96. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L15
  97. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18
  98. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18
  99. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18
  100. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L21
  101. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10
  102. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10
  103. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13
  104. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13
  105. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13
  106. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L36
  107. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37
  108. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37
  109. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37
  110. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L40
  111. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16
  112. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16
  113. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16
  114. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18
  115. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18
  116. unguarded-typing-import: Context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L29
  117. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L49
  118. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L57
  119. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L13
  120. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15
  121. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15
  122. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/as_string.py#L10
  123. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/mixin.py#L15
  124. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/mixin.py#L15
  125. undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L376
  126. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L1622
  127. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L2867
  128. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  129. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  130. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  131. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  132. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  133. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  134. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  135. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  136. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  137. unguarded-typing-import: Const used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  138. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L54
  139. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  140. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  141. unguarded-typing-import: InferBinaryOp used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  142. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L10
  143. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L10
  144. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L12
  145. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L12
  146. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L16
  147. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L28
  148. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L28
  149. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_builtin_inference.py#L28
  150. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L7
  151. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L9
  152. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L14
  153. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_function_base.py#L14
  154. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_einsumfunc.py#L10
  155. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_einsumfunc.py#L13
  156. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L5
  157. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L8
  158. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L9
  159. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L11
  160. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_attrs.py#L11
  161. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L17
  162. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L20
  163. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L26
  164. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_http.py#L8
  165. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L5
  166. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L8
  167. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L6
  168. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L9
  169. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L27
  170. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L30
  171. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L5
  172. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L8
  173. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_uuid.py#L6
  174. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numeric.py#L9
  175. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numeric.py#L17
  176. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_boto3.py#L8
  177. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_multiprocessing.py#L9
  178. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L110
  179. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L116
  180. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L120
  181. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L11
  182. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L13
  183. unguarded-typing-import: astroid used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L15
  184. unguarded-typing-import: bases used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L16
  185. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_scipy_signal.py#L6
  186. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_scipy_signal.py#L9
  187. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_signal.py#L32
  188. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L9
  189. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L12
  190. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ndarray.py#L10
  191. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ndarray.py#L12
  192. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_nose.py#L14
  193. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L7
  194. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L11
  195. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_fromnumeric.py#L6
  196. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_fromnumeric.py#L9
  197. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L7
  198. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L11
  199. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L7
  200. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L9
  201. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hypothesis.py#L19
  202. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_random_mtrand.py#L7
  203. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_random_mtrand.py#L10
  204. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L9
  205. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L13
  206. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L15
  207. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L19
  208. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22
  209. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22
  210. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pkg_resources.py#L5
  211. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pkg_resources.py#L8
  212. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L7
  213. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L11
  214. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dateutil.py#L9
  215. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_umath.py#L10
  216. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_umath.py#L13
  217. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_datetime.py#L5
  218. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L13
  219. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L16
  220. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_multiarray.py#L9
  221. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_multiarray.py#L18
  222. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L7
  223. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L12
  224. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L5
  225. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L8
  226. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L5
  227. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L8
  228. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L11
  229. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L13
  230. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L15
  231. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L27
  232. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L15
  233. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L18
  234. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pytest.py#L6
  235. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_argparse.py#L8
  236. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_utils.py#L10
  237. unguarded-typing-import: Attribute used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_utils.py#L11
  238. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ma.py#L7
  239. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_ma.py#L10
  240. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numerictypes.py#L8
  241. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_numpy_core_numerictypes.py#L12

Effect on home-assistant: The following messages are now emitted:

  1. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L6
  2. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L10
  3. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L14
  4. used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L253
  5. undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L1908
  6. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  7. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  8. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  9. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7
  10. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L25
  11. unguarded-typing-import: Platform used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L32
  12. unguarded-typing-import: CALLBACK_TYPE used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33
  13. unguarded-typing-import: Event used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33
  14. unguarded-typing-import: DiscoveryKey used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L52
  15. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61
  16. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61
  17. unguarded-typing-import: DiscoveryInfoType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61
  18. unguarded-typing-import: Hashable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  19. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  20. unguarded-typing-import: Container used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  21. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  22. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8
  23. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16
  24. unguarded-typing-import: Required used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16
  25. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L21
  26. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L19
  27. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L92
  28. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11
  29. unguarded-typing-import: Collection used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11
  30. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11
  31. unguarded-typing-import: KeysView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11
  32. unguarded-typing-import: concurrent.futures used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L20
  33. unguarded-typing-import: datetime used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L23
  34. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L35
  35. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L35
  36. unguarded-typing-import: NotRequired used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L35
  37. unguarded-typing-import: VolSchemaType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L99
  38. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L99
  39. unguarded-typing-import: EventType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L108
  40. unguarded-typing-import: UnitSystem used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L115
  41. unguarded-typing-import: *Any used only for typechecking b...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit bc3148f331072a48fd0069c298b459fd133277d0

github-actions[bot] avatar Sep 25 '24 16:09 github-actions[bot]

Some feedback as a user of pylint. While perhaps there are users who want this, I am not sure how large that number is. I am also not convinced how much it saves in terms of performance. Is there some data to demonstrate the performance savings? You still have to import typing for TYPE_CHECKING. How much is the saving when other types are not imported from typing library? I would like to see concrete data.

Also, importing typing without TYPE_CHECKING guards is a pretty common way of writing code. AFAIK it is not discouraged. So not sure why the code needs to be changed.

Also, I personally wouldn't want to make this change in my repos at work. The total cost for every developer to turn off this at a large company will be large. I am not sure whether it is worth the cost for the benefit it may provide. At the very minimum, we should not make this the default.

akamat10 avatar Sep 26 '24 02:09 akamat10

This should definitely be off by default (and to be clear when I say do away with the concept of extensions, I don't mean turn everything on, I mean replace it with a more consistent on/off base default as mused in #3512).

I'm also open to the idea of not merging this. (FYI @nickdrozd we should probably wait to polish this until we get more opinions).

Is there some data to demonstrate the performance savings?

I don't think performance is the main motivation. I think the idea is that having unnecessary imports promotes cyclic imports or the hiding of cyclic imports by late imports inside functions, which will emit their own warnings.

The best statement of the problem I see is from Carl Meyer:

"Type annotations tend to greatly increase the import dependency fanout of a typical module. Increasing the import dependency fanout when there is no runtime need for the increased fanout is a bad thing, because it leads to many more import cycles and it unnecessarily front-loads import expense (even if there is no singular "expensive module" but rather just many many modules in the transitive dependency chain which in aggregate are expensive to import)."


The reason I suggested we bump main to 4.0 was so that we can start tackling #3512. IMO the main reason people don't use pylint is because it has (to borrow Carl's word) fanned out a bit much. No clutter-free configuration/readme recipe/button-push way (other than just --errors-only) to just get some configuration that delivers the goodies that go beyond flake8 but without drowning you.

AFAIK it is not discouraged.

Pylint has a lot of refactoring messages where nothing is strictly wrong. This proposed message is one of them, just a slight future-proofing advantage against possible import cycles.

jacobtylerwalls avatar Sep 26 '24 12:09 jacobtylerwalls

Pylint has a lot of refactoring messages where nothing is strictly wrong.

no-else-return is a good example. Recently a core python committer asked me to insert else: before a return. I agree the parallelism can be nice! I bet there are tons of python devs who find that check ridiculous. Having these messages on by default makes it harder to build consensus to adopt pylint.

jacobtylerwalls avatar Sep 26 '24 12:09 jacobtylerwalls

Regarding removing extensions, now that we have a way to disable by default in "standard checkers" we could remove extensions imo. Maybe we could open an issue to see if there are other opinions than ours.

I'm not familiar with this, what are the details?

nickdrozd avatar Sep 26 '24 13:09 nickdrozd

We added default_enabled in #7629, but we may not be using it in all the places we should yet (e.g. until we fully implement #3512).

jacobtylerwalls avatar Sep 26 '24 13:09 jacobtylerwalls

https://github.com/pylint-dev/pylint/issues/8893 should be fixed before merging this too. Is there a way to mark that issue as a blocker?

nickdrozd avatar Sep 26 '24 13:09 nickdrozd

no-else-return is a good example. Recently a core python committer asked me to insert else: before a return. I agree the parallelism can be nice! I bet there are tons of python devs who find that check ridiculous. Having these messages on by default makes it harder to build consensus to adopt pylint.

There's also those that think this is the best thing since sliced bread. And they can enable it if they want. It should probably be by using a mozzilla template / shortcut, because this is something from the Mozzilla style guideline afair. So, yes, this kind of opinionated checks should be disabled by default so the default is acceptable for everyone.

Same for unguarded-typing-import, the fact that we have so much violations in both pylint and astroid as well as the argument given by Marc in the astroid MR, are sufficient to conclude it's opinionated and not make it a default message. I'm still going to benchmark your astroid MR, because it's not easy to know what exactly are the implications in term of performance.

#3512 is the main reason pylint is not adopted i.e. a lot of article that say "pylint is nice but you need to configure it before it's nice", the highest priority issue at the moment imo.

Pierre-Sassoulas avatar Sep 26 '24 14:09 Pierre-Sassoulas

https://github.com/pylint-dev/pylint/issues/8893 should be fixed before merging this too. Is there a way to mark that issue as a blocker?

the blocker label exists but it's more for something like "we can't release the milestone if this is not fixed". But we could release without it as long as we don't merge this. We can draft this MR as long as #8893 is not fixed imo

Pierre-Sassoulas avatar Sep 26 '24 14:09 Pierre-Sassoulas

Okay, the check is disabled by default. Everyone will get to keep their unused runtime imports :laughing:

nickdrozd avatar Sep 26 '24 16:09 nickdrozd

🤖 Effect of this PR on checked open source code: 🤖

Effect on astroid: The following messages are now emitted:

  1. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/test_utils.py#L13
  2. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/context.py#L11
  3. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/context.py#L14
  4. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/context.py#L14
  5. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/typing.py#L8
  6. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L12
  7. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L12
  8. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L13
  9. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L13
  10. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L30
  11. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L30
  12. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L30
  13. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/raw_building.py#L19
  14. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/raw_building.py#L21
  15. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L28
  16. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L30
  17. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L30
  18. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L30
  19. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L16
  20. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L16
  21. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L18
  22. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L18
  23. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L18
  24. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L21
  25. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L31
  26. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L31
  27. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L14
  28. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L14
  29. unguarded-typing-import: TokenInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L16
  30. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L17
  31. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L20
  32. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L22
  33. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L23
  34. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L26
  35. unguarded-typing-import: ast used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L13
  36. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L16
  37. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L18
  38. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L18
  39. unguarded-typing-import: TextIOWrapper used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L19
  40. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L23
  41. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L9
  42. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L9
  43. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L10
  44. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L12
  45. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L12
  46. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14
  47. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14
  48. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14
  49. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14
  50. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L15
  51. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L28
  52. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L28
  53. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L28
  54. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/helpers.py#L10
  55. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/helpers.py#L22
  56. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L14
  57. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L16
  58. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L16
  59. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L16
  60. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L17
  61. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L17
  62. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L20
  63. unguarded-typing-import: AstroidManagerBrain used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L37
  64. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L37
  65. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L10
  66. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L11
  67. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L13
  68. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L16
  69. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L16
  70. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L16
  71. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/util.py#L9
  72. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/util.py#L9
  73. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/util.py#L9
  74. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/filter_statements.py#L29
  75. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/filter_statements.py#L39
  76. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/filter_statements.py#L16
  77. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/decorators.py#L13
  78. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/decorators.py#L13
  79. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/decorators.py#L19
  80. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/transforms.py#L13
  81. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/constraint.py#L10
  82. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/constraint.py#L14
  83. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/constraint.py#L17
  84. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/arguments.py#L11
  85. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L567
  86. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L30
  87. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L32
  88. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L32
  89. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L40
  90. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L40
  91. unguarded-typing-import: _NamespacePath used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/util.py#L10
  92. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L124
  93. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L125
  94. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L126
  95. unguarded-typing-import: pathlib used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L13
  96. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L15
  97. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L18
  98. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L18
  99. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L18
  100. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L21
  101. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L10
  102. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L10
  103. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L13
  104. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L13
  105. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L13
  106. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L36
  107. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L37
  108. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L37
  109. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L37
  110. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L40
  111. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L16
  112. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L16
  113. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L16
  114. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L18
  115. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L18
  116. unguarded-typing-import: Context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L29
  117. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L49
  118. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L57
  119. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/_base_nodes.py#L13
  120. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/_base_nodes.py#L15
  121. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/_base_nodes.py#L15
  122. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/as_string.py#L10
  123. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/mixin.py#L15
  124. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/mixin.py#L15
  125. undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L376
  126. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L1622
  127. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L2867
  128. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  129. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  130. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  131. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  132. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  133. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  134. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  135. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  136. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  137. unguarded-typing-import: Const used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  138. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L54
  139. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  140. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  141. unguarded-typing-import: InferBinaryOp used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  142. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L10
  143. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L10
  144. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L12
  145. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L12
  146. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L16
  147. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L28
  148. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L28
  149. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_builtin_inference.py#L28
  150. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pathlib.py#L7
  151. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pathlib.py#L9
  152. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pathlib.py#L14
  153. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_function_base.py#L14
  154. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_einsumfunc.py#L10
  155. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_einsumfunc.py#L13
  156. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_crypt.py#L5
  157. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_crypt.py#L8
  158. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_collections.py#L9
  159. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_collections.py#L11
  160. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_attrs.py#L11
  161. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dataclasses.py#L17
  162. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dataclasses.py#L20
  163. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dataclasses.py#L26
  164. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_http.py#L8
  165. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_hashlib.py#L5
  166. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_hashlib.py#L8
  167. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_unittest.py#L6
  168. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_unittest.py#L9
  169. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_type.py#L27
  170. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_type.py#L30
  171. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_threading.py#L5
  172. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_threading.py#L8
  173. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_uuid.py#L6
  174. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_numeric.py#L9
  175. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_numeric.py#L17
  176. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_boto3.py#L8
  177. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_multiprocessing.py#L9
  178. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L110
  179. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L116
  180. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L120
  181. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L11
  182. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L13
  183. unguarded-typing-import: astroid used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L15
  184. unguarded-typing-import: bases used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L16
  185. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_scipy_signal.py#L6
  186. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_scipy_signal.py#L9
  187. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_signal.py#L32
  188. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_random.py#L9
  189. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_random.py#L12
  190. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_ndarray.py#L10
  191. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_ndarray.py#L12
  192. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_nose.py#L14
  193. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ssl.py#L7
  194. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ssl.py#L11
  195. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_fromnumeric.py#L6
  196. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_fromnumeric.py#L9
  197. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_subprocess.py#L7
  198. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_subprocess.py#L11
  199. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/helpers.py#L7
  200. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/helpers.py#L9
  201. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_hypothesis.py#L19
  202. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_random_mtrand.py#L7
  203. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_random_mtrand.py#L10
  204. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L9
  205. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L13
  206. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L15
  207. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L19
  208. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L22
  209. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L22
  210. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pkg_resources.py#L5
  211. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pkg_resources.py#L8
  212. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_regex.py#L7
  213. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_regex.py#L11
  214. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dateutil.py#L9
  215. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_umath.py#L10
  216. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_umath.py#L13
  217. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_datetime.py#L5
  218. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_responses.py#L13
  219. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_responses.py#L16
  220. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_multiarray.py#L9
  221. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_multiarray.py#L18
  222. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_re.py#L7
  223. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_re.py#L12
  224. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_curses.py#L5
  225. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_curses.py#L8
  226. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_sqlalchemy.py#L5
  227. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_sqlalchemy.py#L8
  228. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L11
  229. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L13
  230. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L15
  231. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L27
  232. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ctypes.py#L15
  233. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ctypes.py#L18
  234. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pytest.py#L6
  235. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_argparse.py#L8
  236. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_utils.py#L10
  237. unguarded-typing-import: Attribute used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_utils.py#L11
  238. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_ma.py#L7
  239. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_ma.py#L10
  240. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_numerictypes.py#L8
  241. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_numpy_core_numerictypes.py#L12

Effect on home-assistant: The following messages are now emitted:

  1. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/requirements.py#L6
  2. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/requirements.py#L10
  3. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/requirements.py#L14
  4. used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L247
  5. undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L1888
  6. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7
  7. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7
  8. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7
  9. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7
  10. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L25
  11. unguarded-typing-import: Platform used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L32
  12. unguarded-typing-import: CALLBACK_TYPE used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L33
  13. unguarded-typing-import: Event used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L33
  14. unguarded-typing-import: DiscoveryKey used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L52
  15. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L61
  16. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L61
  17. unguarded-typing-import: DiscoveryInfoType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L61
  18. unguarded-typing-import: Hashable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8
  19. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8
  20. unguarded-typing-import: Container used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8
  21. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8
  22. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8
  23. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L16
  24. unguarded-typing-import: Required used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L16
  25. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L21
  26. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/bootstrap.py#L19
  27. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/bootstrap.py#L92
  28. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11
  29. unguarded-typing-import: Collection used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11
  30. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11
  31. unguarded-typing-import: KeysView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11
  32. unguarded-typing-import: concurrent.futures used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L20
  33. unguarded-typing-import: datetime used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L23
  34. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L35
  35. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L35
  36. unguarded-typing-import: NotRequired used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L35
  37. unguarded-typing-import: VolSchemaType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L99
  38. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L99
  39. unguarded-typing-import: EventType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L108
  40. unguarded-typing-import: UnitSystem used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L115
  41. unguarded-typing-import: *Any used only for typechecking b...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit 70c836fb0d364f70a563d9930b206b8b7581c83f

github-actions[bot] avatar Sep 26 '24 16:09 github-actions[bot]

The new test passes for me locally but not in CI. Is the check being enabled incorrectly? The check is also being run in the primer, which I think it shouldn't be?

nickdrozd avatar Sep 26 '24 16:09 nickdrozd

I think we still want the primer to test all checks, so we can make the most informed decisions when reviewing features and fixes.

jacobtylerwalls avatar Sep 26 '24 16:09 jacobtylerwalls

Thank you @jacobtylerwalls for providing the necessary background on this check. I can see the value of this check but yes everyone here realizes that onboarding this check on to is a pretty major ask so leaving this out by default makes sense. Thank you for the update @nickdrozd

#3512 is a wonderful feature and definitely worth pursuing. It will be good if some of the checks pylint can do that are useful that some other static checkers can't do make it to this list because pylint can follow imports and do inference based checks.

akamat10 avatar Sep 27 '24 22:09 akamat10

@nickdrozd I suspect undefined-variable error is very likely related to your code. The node failure in astroid, for example, is related to import that supplies types but also needed at runtime. Perhaps there is a bug around handling such cases.

akamat10 avatar Sep 27 '24 22:09 akamat10

One thought I have. Is it worth leaving out typing library from this check? It is going to be more practical to use.

akamat10 avatar Sep 29 '24 19:09 akamat10

I suspect undefined-variable error is very likely related to your code.

Yeah, there is definitely a bug in there. I think it is closely related to (and maybe even caused by) an existing bug in the consumer logic that is also responsible for problems like https://github.com/pylint-dev/pylint/issues/8893.

Is it worth leaving out typing library from this check?

I don't know if I speak for all users who would want this check, but what I am really interested in knowing is which runtime imports can be avoided. This goes for typing as well. For example, Any and Union are used only for typechecking, while NamedTuple is used at runtime.

There is also a function called cast, which seems like it ought to be used only for typechecking, but does in fact get used at runtime in a few places. IMO this is probably a code smell. Here is an actual verbatim code snippet from Astroid:

        # XXX REMOVE me :
        if context in (Context.Del, Context.Store):  # 'Aug' ??
            newnode = cast(Union[nodes.AssignName, nodes.DelName], newnode)
            self._save_assignment(newnode)

Besides all that, if it is going to be disabled by default, it may as well be as strict as possible, since all users will have opted in.

nickdrozd avatar Sep 29 '24 20:09 nickdrozd

I don't know that segment well enough but cast is only for the static checker and sometimes there are legitimate uses for it. The value is returned unchanged at runtime. Why do you think it is code smell?

akamat10 avatar Sep 30 '24 02:09 akamat10

🤖 Effect of this PR on checked open source code: 🤖

Effect on astroid: The following messages are now emitted:

  1. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/test_utils.py#L13
  2. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/context.py#L11
  3. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/context.py#L14
  4. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/context.py#L14
  5. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/typing.py#L8
  6. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L12
  7. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L12
  8. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L13
  9. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L13
  10. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L30
  11. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L30
  12. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L30
  13. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/raw_building.py#L19
  14. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/raw_building.py#L21
  15. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L28
  16. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L30
  17. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L30
  18. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L30
  19. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L16
  20. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L16
  21. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L18
  22. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L18
  23. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L18
  24. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L21
  25. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L31
  26. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L31
  27. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L14
  28. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L14
  29. unguarded-typing-import: TokenInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L16
  30. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L17
  31. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L20
  32. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L22
  33. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L23
  34. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L26
  35. unguarded-typing-import: ast used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L13
  36. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L17
  37. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L19
  38. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L19
  39. unguarded-typing-import: TextIOWrapper used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L20
  40. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L24
  41. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L9
  42. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L9
  43. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L10
  44. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L12
  45. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L12
  46. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14
  47. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14
  48. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14
  49. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14
  50. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L15
  51. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L28
  52. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L28
  53. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L28
  54. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/helpers.py#L10
  55. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/helpers.py#L22
  56. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L14
  57. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L16
  58. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L16
  59. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L16
  60. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L17
  61. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L17
  62. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L20
  63. unguarded-typing-import: AstroidManagerBrain used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L37
  64. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L37
  65. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L10
  66. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L11
  67. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L13
  68. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L16
  69. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L16
  70. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L16
  71. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/util.py#L9
  72. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/util.py#L9
  73. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/util.py#L9
  74. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/filter_statements.py#L29
  75. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/filter_statements.py#L39
  76. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/filter_statements.py#L16
  77. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/decorators.py#L13
  78. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/decorators.py#L13
  79. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/decorators.py#L19
  80. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/transforms.py#L13
  81. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/constraint.py#L10
  82. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/constraint.py#L14
  83. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/constraint.py#L17
  84. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/arguments.py#L11
  85. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L567
  86. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L30
  87. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L32
  88. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L32
  89. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L40
  90. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L40
  91. unguarded-typing-import: _NamespacePath used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/util.py#L10
  92. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L124
  93. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L125
  94. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L126
  95. unguarded-typing-import: pathlib used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L13
  96. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L15
  97. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L18
  98. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L18
  99. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L18
  100. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L21
  101. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L10
  102. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L10
  103. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L13
  104. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L13
  105. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L13
  106. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L36
  107. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L37
  108. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L37
  109. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L37
  110. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L40
  111. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L16
  112. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L16
  113. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L16
  114. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L18
  115. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L18
  116. unguarded-typing-import: Context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L29
  117. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L49
  118. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L57
  119. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/_base_nodes.py#L13
  120. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/_base_nodes.py#L15
  121. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/_base_nodes.py#L15
  122. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/as_string.py#L10
  123. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/mixin.py#L15
  124. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/mixin.py#L15
  125. undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L369
  126. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L1594
  127. undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L2836
  128. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  129. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  130. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  131. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  132. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  133. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  134. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  135. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  136. unguarded-typing-import: Const used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  137. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L43
  138. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L54
  139. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  140. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  141. unguarded-typing-import: InferBinaryOp used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L55
  142. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L10
  143. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L10
  144. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L12
  145. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L12
  146. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L16
  147. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L28
  148. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L28
  149. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_builtin_inference.py#L28
  150. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pathlib.py#L7
  151. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pathlib.py#L9
  152. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pathlib.py#L14
  153. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_function_base.py#L14
  154. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_einsumfunc.py#L10
  155. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_einsumfunc.py#L13
  156. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_crypt.py#L5
  157. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_crypt.py#L8
  158. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_collections.py#L9
  159. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_collections.py#L11
  160. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_attrs.py#L11
  161. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dataclasses.py#L17
  162. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dataclasses.py#L20
  163. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dataclasses.py#L26
  164. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_http.py#L8
  165. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_hashlib.py#L5
  166. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_hashlib.py#L8
  167. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_unittest.py#L6
  168. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_unittest.py#L9
  169. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_type.py#L27
  170. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_type.py#L30
  171. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_threading.py#L5
  172. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_threading.py#L8
  173. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_uuid.py#L6
  174. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_numeric.py#L9
  175. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_numeric.py#L17
  176. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_boto3.py#L8
  177. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_multiprocessing.py#L9
  178. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L110
  179. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L116
  180. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L120
  181. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L11
  182. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L13
  183. unguarded-typing-import: astroid used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L15
  184. unguarded-typing-import: bases used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L16
  185. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_scipy_signal.py#L6
  186. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_scipy_signal.py#L9
  187. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_signal.py#L32
  188. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_random.py#L9
  189. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_random.py#L12
  190. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_ndarray.py#L10
  191. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_ndarray.py#L12
  192. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_nose.py#L14
  193. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ssl.py#L7
  194. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ssl.py#L11
  195. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_fromnumeric.py#L6
  196. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_fromnumeric.py#L9
  197. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_subprocess.py#L7
  198. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_subprocess.py#L11
  199. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/helpers.py#L7
  200. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/helpers.py#L9
  201. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_hypothesis.py#L19
  202. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_random_mtrand.py#L7
  203. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_random_mtrand.py#L10
  204. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L9
  205. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L13
  206. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L15
  207. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L19
  208. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L22
  209. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L22
  210. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pkg_resources.py#L5
  211. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pkg_resources.py#L8
  212. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_regex.py#L7
  213. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_regex.py#L11
  214. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dateutil.py#L9
  215. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_umath.py#L10
  216. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_umath.py#L13
  217. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_datetime.py#L5
  218. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_responses.py#L13
  219. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_responses.py#L16
  220. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_multiarray.py#L9
  221. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_multiarray.py#L19
  222. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_re.py#L7
  223. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_re.py#L12
  224. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_curses.py#L5
  225. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_curses.py#L8
  226. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_sqlalchemy.py#L5
  227. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_sqlalchemy.py#L8
  228. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L11
  229. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L13
  230. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L15
  231. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L27
  232. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ctypes.py#L15
  233. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ctypes.py#L18
  234. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pytest.py#L6
  235. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_argparse.py#L8
  236. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_utils.py#L10
  237. unguarded-typing-import: Attribute used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_utils.py#L11
  238. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_ma.py#L7
  239. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_ma.py#L10
  240. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_numerictypes.py#L8
  241. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_numpy_core_numerictypes.py#L12

Effect on home-assistant: The following messages are now emitted:

  1. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/requirements.py#L6
  2. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/requirements.py#L10
  3. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/requirements.py#L14
  4. used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L247
  5. undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L1917
  6. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7
  7. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7
  8. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7
  9. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7
  10. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L25
  11. unguarded-typing-import: Platform used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L32
  12. unguarded-typing-import: CALLBACK_TYPE used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L33
  13. unguarded-typing-import: Event used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L33
  14. unguarded-typing-import: DiscoveryKey used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L52
  15. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L61
  16. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L61
  17. unguarded-typing-import: DiscoveryInfoType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L61
  18. unguarded-typing-import: Hashable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8
  19. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8
  20. unguarded-typing-import: Container used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8
  21. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8
  22. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8
  23. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L16
  24. unguarded-typing-import: Required used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L16
  25. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L21
  26. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/bootstrap.py#L19
  27. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/bootstrap.py#L92
  28. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11
  29. unguarded-typing-import: Collection used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11
  30. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11
  31. unguarded-typing-import: KeysView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11
  32. unguarded-typing-import: concurrent.futures used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L20
  33. unguarded-typing-import: datetime used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L23
  34. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L35
  35. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L35
  36. unguarded-typing-import: NotRequired used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L35
  37. unguarded-typing-import: VolSchemaType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L99
  38. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L99
  39. unguarded-typing-import: EventType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L108
  40. unguarded-typing-import: UnitSystem used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L115
  41. unguarded-typing-import: *Any used only for typechecking b...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit af507d7369b6ef86e8e84c4a3a98e5bbfd4d0059

github-actions[bot] avatar Oct 01 '24 15:10 github-actions[bot]

🤖 Effect of this PR on checked open source code: 🤖

Effect on astroid: The following messages are now emitted:

  1. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/typing.py#L8
  2. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/filter_statements.py#L29
  3. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/filter_statements.py#L39
  4. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/filter_statements.py#L16
  5. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/helpers.py#L10
  6. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/helpers.py#L22
  7. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L12
  8. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L12
  9. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L13
  10. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L13
  11. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L30
  12. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L30
  13. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L30
  14. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/arguments.py#L11
  15. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/context.py#L11
  16. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/context.py#L14
  17. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/context.py#L14
  18. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L14
  19. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L16
  20. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L16
  21. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L16
  22. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L17
  23. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L17
  24. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L20
  25. unguarded-typing-import: AstroidManagerBrain used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L37
  26. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L37
  27. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/transforms.py#L13
  28. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L16
  29. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L16
  30. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L18
  31. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L18
  32. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L18
  33. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L21
  34. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L31
  35. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L31
  36. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/test_utils.py#L13
  37. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L10
  38. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L11
  39. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L13
  40. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L16
  41. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L16
  42. unguarded-typing-import: TransformFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L16
  43. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L9
  44. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L9
  45. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L10
  46. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L12
  47. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L12
  48. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14
  49. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14
  50. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14
  51. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14
  52. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L15
  53. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L28
  54. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L28
  55. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L28
  56. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/util.py#L9
  57. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/util.py#L9
  58. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/util.py#L9
  59. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L28
  60. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L30
  61. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L30
  62. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L30
  63. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/raw_building.py#L19
  64. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/raw_building.py#L21
  65. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L14
  66. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L14
  67. unguarded-typing-import: TokenInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L16
  68. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L17
  69. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L20
  70. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L22
  71. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L23
  72. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L26
  73. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/constraint.py#L10
  74. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/constraint.py#L14
  75. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/constraint.py#L17
  76. unguarded-typing-import: ast used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L13
  77. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L17
  78. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L19
  79. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L19
  80. unguarded-typing-import: TextIOWrapper used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L20
  81. unguarded-typing-import: ParserModule used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L24
  82. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/decorators.py#L13
  83. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/decorators.py#L13
  84. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/decorators.py#L19
  85. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L16
  86. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L16
  87. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L16
  88. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L18
  89. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L18
  90. unguarded-typing-import: Context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L29
  91. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L50
  92. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L58
  93. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L10
  94. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L10
  95. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L13
  96. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L13
  97. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L13
  98. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L36
  99. unguarded-typing-import: InferFn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L37
  100. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L37
  101. unguarded-typing-import: InferenceErrorInfo used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L37
  102. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L40
  103. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/_base_nodes.py#L13
  104. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/_base_nodes.py#L15
  105. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/_base_nodes.py#L15
  106. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/as_string.py#L10
  107. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/mixin.py#L15
  108. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/mixin.py#L15
  109. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  110. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  111. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  112. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L17
  113. unguarded-typing-import: ClassVar used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  114. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  115. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  116. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L19
  117. unguarded-typing-import: Position used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L46
  118. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L47
  119. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L47
  120. unguarded-typing-import: InferBinaryOp used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/scoped_nodes/scoped_nodes.py#L47
  121. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_function_base.py#L14
  122. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_curses.py#L5
  123. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_curses.py#L8
  124. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_type.py#L27
  125. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_type.py#L30
  126. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_argparse.py#L8
  127. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_argparse.py#L11
  128. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_collections.py#L12
  129. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/helpers.py#L7
  130. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/helpers.py#L9
  131. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pathlib.py#L7
  132. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pathlib.py#L9
  133. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pathlib.py#L14
  134. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_signal.py#L32
  135. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dateutil.py#L9
  136. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_utils.py#L10
  137. unguarded-typing-import: Attribute used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_utils.py#L11
  138. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_random_mtrand.py#L7
  139. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_random_mtrand.py#L10
  140. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L113
  141. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L119
  142. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L123
  143. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L11
  144. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L13
  145. unguarded-typing-import: astroid used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L15
  146. unguarded-typing-import: bases used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L16
  147. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_umath.py#L10
  148. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_umath.py#L13
  149. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_fromnumeric.py#L6
  150. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_fromnumeric.py#L9
  151. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ctypes.py#L15
  152. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ctypes.py#L18
  153. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_responses.py#L13
  154. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_responses.py#L16
  155. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_nose.py#L14
  156. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_multiarray.py#L9
  157. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_multiarray.py#L19
  158. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dataclasses.py#L17
  159. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dataclasses.py#L20
  160. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dataclasses.py#L26
  161. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_random.py#L9
  162. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_random.py#L12
  163. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_numerictypes.py#L8
  164. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_numerictypes.py#L12
  165. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_regex.py#L7
  166. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_regex.py#L11
  167. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L10
  168. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L10
  169. unguarded-typing-import: NoReturn used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L12
  170. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L12
  171. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L16
  172. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L27
  173. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L27
  174. unguarded-typing-import: ConstFactoryResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_builtin_inference.py#L27
  175. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L11
  176. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L13
  177. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L15
  178. unguarded-typing-import: NodeNG used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L27
  179. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_ma.py#L7
  180. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_ma.py#L10
  181. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_boto3.py#L8
  182. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_numeric.py#L9
  183. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_numeric.py#L17
  184. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_uuid.py#L6
  185. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_sqlalchemy.py#L5
  186. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_sqlalchemy.py#L8
  187. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_scipy_signal.py#L6
  188. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_scipy_signal.py#L9
  189. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ssl.py#L7
  190. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ssl.py#L11
  191. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_multiprocessing.py#L9
  192. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_ndarray.py#L10
  193. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_ndarray.py#L12
  194. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_crypt.py#L5
  195. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_crypt.py#L8
  196. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_threading.py#L5
  197. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_threading.py#L8
  198. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_einsumfunc.py#L10
  199. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_numpy_core_einsumfunc.py#L13
  200. unguarded-typing-import: context used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_re.py#L7
  201. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_re.py#L12
  202. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pkg_resources.py#L5
  203. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pkg_resources.py#L8
  204. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_attrs.py#L11
  205. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_unittest.py#L6
  206. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_unittest.py#L9
  207. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_subprocess.py#L7
  208. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_subprocess.py#L11
  209. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pytest.py#L6
  210. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_http.py#L8
  211. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_datetime.py#L5
  212. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_hypothesis.py#L19
  213. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L9
  214. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L13
  215. unguarded-typing-import: InferenceContext used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L15
  216. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L19
  217. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L22
  218. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L22
  219. unguarded-typing-import: nodes used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_hashlib.py#L5
  220. unguarded-typing-import: AstroidManager used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_hashlib.py#L8
  221. undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L567
  222. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L30
  223. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L32
  224. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L32
  225. unguarded-typing-import: SuccessfulInferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L40
  226. unguarded-typing-import: InferenceResult used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L40
  227. unguarded-typing-import: _NamespacePath used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/util.py#L10
  228. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L124
  229. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L125
  230. undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L126
  231. unguarded-typing-import: pathlib used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L13
  232. unguarded-typing-import: types used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L15
  233. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L18
  234. unguarded-typing-import: Iterator used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L18
  235. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L18
  236. unguarded-typing-import: Literal used only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L21

Effect on home-assistant: The following messages are now emitted:

  1. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/const.py#L7
  2. unguarded-typing-import: Awaitable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7
  3. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7
  4. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7
  5. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7
  6. unguarded-typing-import: ModuleType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L14
  7. unguarded-typing-import: Final used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L15
  8. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L15
  9. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L24
  10. unguarded-typing-import: CALLBACK_TYPE used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L24
  11. unguarded-typing-import: Event used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L24
  12. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L34
  13. used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L250
  14. undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L1926
  15. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7
  16. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7
  17. unguarded-typing-import: ValuesView used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7
  18. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7
  19. unguarded-typing-import: Self used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L25
  20. unguarded-typing-import: Platform used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L33
  21. unguarded-typing-import: CALLBACK_TYPE used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L34
  22. unguarded-typing-import: Event used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L34
  23. unguarded-typing-import: DiscoveryKey used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L53
  24. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L62
  25. unguarded-typing-import: UndefinedType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L62
  26. unguarded-typing-import: DiscoveryInfoType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L62
  27. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/block_async_io.py#L4
  28. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/block_async_io.py#L16
  29. unguarded-typing-import: Hashable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8
  30. unguarded-typing-import: Mapping used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8
  31. unguarded-typing-import: Container used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8
  32. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8
  33. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8
  34. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L16
  35. unguarded-typing-import: Required used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L16
  36. unguarded-typing-import: HomeAssistant used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L21
  37. unguarded-typing-import: Callable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L5
  38. unguarded-typing-import: Generator used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L5
  39. unguarded-typing-import: Sequence used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L5
  40. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L7
  41. unguarded-typing-import: EventType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L9
  42. unguarded-typing-import: Any used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/bootstrap.py#L19
  43. unguarded-typing-import: ConfigType used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/bootstrap.py#L92
  44. unguarded-typing-import: Iterable used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/core.py#L11
  45. unguarded-typing-import: Collection used only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/core.py#L...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit d78d4ee01fae7b401a803212b63db42db6e137ca

github-actions[bot] avatar Oct 17 '24 21:10 github-actions[bot]