pylint
pylint copied to clipboard
Add new check: `unguarded-typing-import`
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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/test_utils.py#L13 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L11 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/typing.py#L8 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30 - import-used-only-for-typechecking:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L19 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L21 - import-used-only-for-typechecking:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L28 - import-used-only-for-typechecking:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18 - import-used-only-for-typechecking:
NoReturnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L21 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14 - import-used-only-for-typechecking:
TokenInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L16 - import-used-only-for-typechecking:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L17 - import-used-only-for-typechecking:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L20 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L22 - import-used-only-for-typechecking:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L23 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L26 - import-used-only-for-typechecking:
astused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L13 - import-used-only-for-typechecking:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L16 - import-used-only-for-typechecking:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18 - import-used-only-for-typechecking:
TextIOWrapperused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L19 - import-used-only-for-typechecking:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L23 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L10 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - import-used-only-for-typechecking:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L15 - import-used-only-for-typechecking:
ConstFactoryResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L10 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L22 - import-used-only-for-typechecking:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L14 - import-used-only-for-typechecking:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17 - import-used-only-for-typechecking:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L20 - import-used-only-for-typechecking:
AstroidManagerBrainused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L10 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L11 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L13 - import-used-only-for-typechecking:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16 - import-used-only-for-typechecking:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9 - import-used-only-for-typechecking:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L29
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L39
- import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L16 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L19 - import-used-only-for-typechecking:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/transforms.py#L13 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L10 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L14 - import-used-only-for-typechecking:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L17 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/arguments.py#L11 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L567
- import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L30 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40 - import-used-only-for-typechecking:
_NamespacePathused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/util.py#L10 - undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L124
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L125
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L126
- import-used-only-for-typechecking:
pathlibused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L13 - import-used-only-for-typechecking:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L15 - import-used-only-for-typechecking:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L21 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10 - import-used-only-for-typechecking:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13 - import-used-only-for-typechecking:
Positionused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L36 - import-used-only-for-typechecking:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37 - import-used-only-for-typechecking:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37 - import-used-only-for-typechecking:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L40 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16 - import-used-only-for-typechecking:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16 - import-used-only-for-typechecking:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18 - import-used-only-for-typechecking:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18 - import-used-only-for-typechecking:
Contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L29 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L49 - import-used-only-for-typechecking:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L57 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L13 - import-used-only-for-typechecking:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/as_string.py#L10 - import-used-only-for-typechecking:
InferenceResultused 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 - import-used-only-for-typechecking:
SuccessfulInferenceResultused 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 - undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L376
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L1622
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L2867
- import-used-only-for-typechecking:
Sequenceused 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 - import-used-only-for-typechecking:
Iteratorused 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 - import-used-only-for-typechecking:
Generatorused 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 - import-used-only-for-typechecking:
Iterableused 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 - import-used-only-for-typechecking:
ClassVarused 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 - import-used-only-for-typechecking:
Literalused 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 - import-used-only-for-typechecking:
NoReturnused 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 - import-used-only-for-typechecking:
Anyused 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 - import-used-only-for-typechecking:
NodeNGused 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 - import-used-only-for-typechecking:
Constused 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 - import-used-only-for-typechecking:
Positionused 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 - import-used-only-for-typechecking:
InferenceResultused 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 - import-used-only-for-typechecking:
SuccessfulInferenceResultused 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 - import-used-only-for-typechecking:
InferBinaryOpused 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 - import-used-only-for-typechecking:
Callableused 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 - import-used-only-for-typechecking:
Iterableused 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 - import-used-only-for-typechecking:
NoReturnused 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 - import-used-only-for-typechecking:
Anyused 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 - import-used-only-for-typechecking:
InferenceContextused 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 - import-used-only-for-typechecking:
SuccessfulInferenceResultused 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 - import-used-only-for-typechecking:
InferenceResultused 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 - import-used-only-for-typechecking:
ConstFactoryResultused 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 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L7 - import-used-only-for-typechecking:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L9 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L14 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L5 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L8 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L9 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L11 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_attrs.py#L11 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L17 - import-used-only-for-typechecking:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L20 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L26 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_http.py#L8 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L5 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L8 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L6 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L9 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L27 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L30 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L5 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L8 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_uuid.py#L6 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_boto3.py#L8 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_multiprocessing.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L110
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L116
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L120
- import-used-only-for-typechecking:
Iteratorused 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 - import-used-only-for-typechecking:
Finalused 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 - import-used-only-for-typechecking:
astroidused 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 - import-used-only-for-typechecking:
basesused 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 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_signal.py#L32 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L9 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L12 - import-used-only-for-typechecking:
InferenceContextused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_nose.py#L14 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L7 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L11 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L7 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L11 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L7 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L9 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hypothesis.py#L19 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L9 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L13 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L15 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L19 - import-used-only-for-typechecking:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22 - import-used-only-for-typechecking:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L7 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L11 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dateutil.py#L9 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_datetime.py#L5 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L13 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L16 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L7 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L12 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L5 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L8 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L5 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L8 - import-used-only-for-typechecking:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L11 - import-used-only-for-typechecking:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L13 - import-used-only-for-typechecking:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L15 - import-used-only-for-typechecking:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L27 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L15 - import-used-only-for-typechecking:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L18 - import-used-only-for-typechecking:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pytest.py#L6 - import-used-only-for-typechecking:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_argparse.py#L8 - import-used-only-for-typechecking:
InferenceContextused 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 - import-used-only-for-typechecking:
Attributeused 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 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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 - import-used-only-for-typechecking:
nodesused 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 - import-used-only-for-typechecking:
AstroidManagerused 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:
- import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L6 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L10 - import-used-only-for-typechecking:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L14 - used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L253
- undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L1908
- import-used-only-for-typechecking:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - import-used-only-for-typechecking:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - import-used-only-for-typechecking:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - import-used-only-for-typechecking:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L25 - import-used-only-for-typechecking:
Platformused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L32 - import-used-only-for-typechecking:
CALLBACK_TYPEused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33 - import-used-only-for-typechecking:
Eventused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33 - import-used-only-for-typechecking:
DiscoveryKeyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L52 - import-used-only-for-typechecking:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61 - import-used-only-for-typechecking:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61 - import-used-only-for-typechecking:
DiscoveryInfoTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61 - import-used-only-for-typechecking:
Hashableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - import-used-only-for-typechecking:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - import-used-only-for-typechecking:
Containerused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - import-used-only-for-typechecking:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16 - import-used-only-for-typechecking:
Requiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16 - import-used-only-for-typechecking:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L21 - import-used-only-for-typechecking:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L19 - import-used-only-for-typechecking:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L92 - import-used-only-for-typechecking:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11 - import-used-only-for-typechecking:
Collectionused 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
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.
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.
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).
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/test_utils.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L11 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/context.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/typing.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L12 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/bases.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L19 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/raw_building.py#L21 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L28 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/modutils.py#L30 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18 - unguarded-typing-import:
NoReturnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L18 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L21 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/objects.py#L31 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L14 - unguarded-typing-import:
TokenInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L16 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L17 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L20 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L22 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L23 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/rebuilder.py#L26 - unguarded-typing-import:
astused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L16 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L18 - unguarded-typing-import:
TextIOWrapperused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L19 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/builder.py#L23 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/exceptions.py#L12 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L15 - unguarded-typing-import:
ConstFactoryResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/protocols.py#L28 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/helpers.py#L22 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L16 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L17 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L20 - unguarded-typing-import:
AstroidManagerBrainused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/manager.py#L37 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L10 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L11 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L13 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/inference_tip.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/util.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L29
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L39
- unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/filter_statements.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/decorators.py#L19 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/transforms.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L14 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/constraint.py#L17 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/arguments.py#L11 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L567
- unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L30 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
_NamespacePathused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/util.py#L10 - undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L124
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L125
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L126
- unguarded-typing-import:
pathlibused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L15 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/interpreter/_import/spec.py#L21 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Positionused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L36 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_ng.py#L40 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
Contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L29 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L49 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/node_classes.py#L57 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L13 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/as_string.py#L10 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L376
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L1622
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/nodes/scoped_nodes/scoped_nodes.py#L2867
- unguarded-typing-import:
Sequenceused 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 - unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Generatorused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
ClassVarused 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 - unguarded-typing-import:
Literalused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
NodeNGused 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 - unguarded-typing-import:
Constused 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 - unguarded-typing-import:
Positionused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferBinaryOpused 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 - unguarded-typing-import:
Callableused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
ConstFactoryResultused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L7 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pathlib.py#L14 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_crypt.py#L8 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_collections.py#L11 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_attrs.py#L11 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L17 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L20 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dataclasses.py#L26 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_http.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hashlib.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L6 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_unittest.py#L9 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L27 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_type.py#L30 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_threading.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_uuid.py#L6 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_boto3.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_multiprocessing.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L110
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L116
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_namedtuple_enum.py#L120
- unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Finalused 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 - unguarded-typing-import:
astroidused 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 - unguarded-typing-import:
basesused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_signal.py#L32 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_random.py#L12 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_nose.py#L14 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ssl.py#L11 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_subprocess.py#L11 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/helpers.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_hypothesis.py#L19 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L9 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L13 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L19 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_regex.py#L11 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_dateutil.py#L9 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_datetime.py#L5 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L13 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_responses.py#L16 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_re.py#L12 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_curses.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_sqlalchemy.py#L8 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L11 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L13 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L15 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_typing.py#L27 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_ctypes.py#L18 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_pytest.py#L6 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/eb88dfed2671f81979abb644a92029a086d940d1/astroid/brain/brain_argparse.py#L8 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
Attributeused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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:
- unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L6 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L10 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/requirements.py#L14 - used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L253
- undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L1908
- unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L25 - unguarded-typing-import:
Platformused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L32 - unguarded-typing-import:
CALLBACK_TYPEused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33 - unguarded-typing-import:
Eventused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L33 - unguarded-typing-import:
DiscoveryKeyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L52 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61 - unguarded-typing-import:
DiscoveryInfoTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/config_entries.py#L61 - unguarded-typing-import:
Hashableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Containerused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
Requiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/data_entry_flow.py#L21 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L19 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/bootstrap.py#L92 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11 - unguarded-typing-import:
Collectionused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11 - unguarded-typing-import:
KeysViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L11 - unguarded-typing-import:
concurrent.futuresused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L20 - unguarded-typing-import:
datetimeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L23 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L35 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L35 - unguarded-typing-import:
NotRequiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L35 - unguarded-typing-import:
VolSchemaTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L99 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L99 - unguarded-typing-import:
EventTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L108 - unguarded-typing-import:
UnitSystemused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9a4a66b33f5324ae9342653b44d5a18c16d83947/homeassistant/core.py#L115 - unguarded-typing-import:
*
Anyused only for typechecking b...
This comment was truncated because GitHub allows only 65536 characters in a comment.
This comment was generated for commit bc3148f331072a48fd0069c298b459fd133277d0
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.
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.
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.
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?
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).
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?
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.
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
Okay, the check is disabled by default. Everyone will get to keep their unused runtime imports :laughing:
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/test_utils.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/context.py#L11 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/context.py#L14 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/context.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/typing.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L12 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L12 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L30 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L30 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/bases.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/raw_building.py#L19 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/raw_building.py#L21 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L28 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L30 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/modutils.py#L30 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L18 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L18 - unguarded-typing-import:
NoReturnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L18 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L21 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L31 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/objects.py#L31 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L14 - unguarded-typing-import:
TokenInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L16 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L17 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L20 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L22 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L23 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/rebuilder.py#L26 - unguarded-typing-import:
astused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L16 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L18 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L18 - unguarded-typing-import:
TextIOWrapperused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L19 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/builder.py#L23 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L9 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L12 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/exceptions.py#L12 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L15 - unguarded-typing-import:
ConstFactoryResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L28 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L28 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/protocols.py#L28 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/helpers.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/helpers.py#L22 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L16 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L16 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L17 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L17 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L20 - unguarded-typing-import:
AstroidManagerBrainused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/manager.py#L37 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L10 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L11 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L13 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L16 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L16 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/inference_tip.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/util.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/util.py#L9 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/util.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/filter_statements.py#L29
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/filter_statements.py#L39
- unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/filter_statements.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/decorators.py#L13 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/decorators.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/decorators.py#L19 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/transforms.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/constraint.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/constraint.py#L14 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/constraint.py#L17 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/arguments.py#L11 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L567
- unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L30 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
_NamespacePathused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/util.py#L10 - undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L124
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L125
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L126
- unguarded-typing-import:
pathlibused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L15 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/interpreter/_import/spec.py#L21 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Positionused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L36 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_ng.py#L40 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
Contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L29 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L49 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/node_classes.py#L57 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/_base_nodes.py#L13 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/as_string.py#L10 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L376
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L1622
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/nodes/scoped_nodes/scoped_nodes.py#L2867
- unguarded-typing-import:
Sequenceused 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 - unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Generatorused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
ClassVarused 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 - unguarded-typing-import:
Literalused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
NodeNGused 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 - unguarded-typing-import:
Constused 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 - unguarded-typing-import:
Positionused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferBinaryOpused 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 - unguarded-typing-import:
Callableused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
ConstFactoryResultused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pathlib.py#L7 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pathlib.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pathlib.py#L14 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_crypt.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_crypt.py#L8 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_collections.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_collections.py#L11 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_attrs.py#L11 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dataclasses.py#L17 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dataclasses.py#L20 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dataclasses.py#L26 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_http.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_hashlib.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_hashlib.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_unittest.py#L6 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_unittest.py#L9 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_type.py#L27 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_type.py#L30 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_threading.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_threading.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_uuid.py#L6 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_boto3.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_multiprocessing.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L110
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L116
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_namedtuple_enum.py#L120
- unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Finalused 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 - unguarded-typing-import:
astroidused 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 - unguarded-typing-import:
basesused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_signal.py#L32 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_random.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_random.py#L12 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_nose.py#L14 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ssl.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ssl.py#L11 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_subprocess.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_subprocess.py#L11 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/helpers.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/helpers.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_hypothesis.py#L19 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L9 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L13 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L19 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_regex.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_regex.py#L11 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_dateutil.py#L9 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_datetime.py#L5 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_responses.py#L13 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_responses.py#L16 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_re.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_re.py#L12 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_curses.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_curses.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_sqlalchemy.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_sqlalchemy.py#L8 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L11 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L13 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L15 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_typing.py#L27 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ctypes.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_ctypes.py#L18 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_pytest.py#L6 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/a3f5c4a397cb68b563e2c16a40bd623a53ad59b3/astroid/brain/brain_argparse.py#L8 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
Attributeused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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:
- unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/requirements.py#L6 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/requirements.py#L10 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/requirements.py#L14 - used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L247
- undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L1888
- unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L25 - unguarded-typing-import:
Platformused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L32 - unguarded-typing-import:
CALLBACK_TYPEused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L33 - unguarded-typing-import:
Eventused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L33 - unguarded-typing-import:
DiscoveryKeyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L52 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L61 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L61 - unguarded-typing-import:
DiscoveryInfoTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/config_entries.py#L61 - unguarded-typing-import:
Hashableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Containerused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
Requiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/data_entry_flow.py#L21 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/bootstrap.py#L19 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/bootstrap.py#L92 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11 - unguarded-typing-import:
Collectionused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11 - unguarded-typing-import:
KeysViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L11 - unguarded-typing-import:
concurrent.futuresused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L20 - unguarded-typing-import:
datetimeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L23 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L35 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L35 - unguarded-typing-import:
NotRequiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L35 - unguarded-typing-import:
VolSchemaTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L99 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L99 - unguarded-typing-import:
EventTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L108 - unguarded-typing-import:
UnitSystemused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/1395baef017b08c8681499fc2ce8507436b999ee/homeassistant/core.py#L115 - unguarded-typing-import:
*
Anyused only for typechecking b...
This comment was truncated because GitHub allows only 65536 characters in a comment.
This comment was generated for commit 70c836fb0d364f70a563d9930b206b8b7581c83f
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?
I think we still want the primer to test all checks, so we can make the most informed decisions when reviewing features and fixes.
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.
@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.
One thought I have. Is it worth leaving out typing library from this check? It is going to be more practical to use.
I suspect
undefined-variableerror 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.
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?
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/test_utils.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/context.py#L11 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/context.py#L14 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/context.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/typing.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L12 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L12 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L30 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L30 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/bases.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/raw_building.py#L19 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/raw_building.py#L21 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L28 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L30 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/modutils.py#L30 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L18 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L18 - unguarded-typing-import:
NoReturnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L18 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L21 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L31 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/objects.py#L31 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L14 - unguarded-typing-import:
TokenInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L16 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L17 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L20 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L22 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L23 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/rebuilder.py#L26 - unguarded-typing-import:
astused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L17 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L19 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L19 - unguarded-typing-import:
TextIOWrapperused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L20 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/builder.py#L24 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L9 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L12 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/exceptions.py#L12 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L15 - unguarded-typing-import:
ConstFactoryResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L28 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L28 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/protocols.py#L28 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/helpers.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/helpers.py#L22 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L16 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L16 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L17 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L17 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L20 - unguarded-typing-import:
AstroidManagerBrainused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/manager.py#L37 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L10 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L11 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L13 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L16 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L16 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/inference_tip.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/util.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/util.py#L9 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/util.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/filter_statements.py#L29
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/filter_statements.py#L39
- unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/filter_statements.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/decorators.py#L13 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/decorators.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/decorators.py#L19 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/transforms.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/constraint.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/constraint.py#L14 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/constraint.py#L17 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/arguments.py#L11 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L567
- unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L30 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
_NamespacePathused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/util.py#L10 - undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L124
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L125
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L126
- unguarded-typing-import:
pathlibused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L15 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/interpreter/_import/spec.py#L21 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Positionused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L36 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_ng.py#L40 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
Contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L29 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L49 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/node_classes.py#L57 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/_base_nodes.py#L13 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/as_string.py#L10 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - undefined-variable: Undefined variable 'node_classes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L369
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L1594
- undefined-variable: Undefined variable 'Const' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/nodes/scoped_nodes/scoped_nodes.py#L2836
- unguarded-typing-import:
Sequenceused 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 - unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Generatorused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
ClassVarused 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 - unguarded-typing-import:
Literalused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
Constused 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 - unguarded-typing-import:
NodeNGused 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 - unguarded-typing-import:
Positionused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferBinaryOpused 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 - unguarded-typing-import:
Callableused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
ConstFactoryResultused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pathlib.py#L7 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pathlib.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pathlib.py#L14 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_crypt.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_crypt.py#L8 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_collections.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_collections.py#L11 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_attrs.py#L11 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dataclasses.py#L17 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dataclasses.py#L20 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dataclasses.py#L26 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_http.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_hashlib.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_hashlib.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_unittest.py#L6 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_unittest.py#L9 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_type.py#L27 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_type.py#L30 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_threading.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_threading.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_uuid.py#L6 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_boto3.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_multiprocessing.py#L9 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L110
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L116
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_namedtuple_enum.py#L120
- unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Finalused 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 - unguarded-typing-import:
astroidused 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 - unguarded-typing-import:
basesused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_signal.py#L32 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_random.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_random.py#L12 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_nose.py#L14 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ssl.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ssl.py#L11 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_subprocess.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_subprocess.py#L11 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/helpers.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/helpers.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_hypothesis.py#L19 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L9 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L13 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L19 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_regex.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_regex.py#L11 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_dateutil.py#L9 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_datetime.py#L5 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_responses.py#L13 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_responses.py#L16 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_re.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_re.py#L12 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_curses.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_curses.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_sqlalchemy.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_sqlalchemy.py#L8 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L11 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L13 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L15 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_typing.py#L27 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ctypes.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_ctypes.py#L18 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_pytest.py#L6 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/ba7df4acab0e985d1a6274def9f1798a9a7ce40d/astroid/brain/brain_argparse.py#L8 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
Attributeused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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:
- unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/requirements.py#L6 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/requirements.py#L10 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/requirements.py#L14 - used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L247
- undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L1917
- unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L25 - unguarded-typing-import:
Platformused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L32 - unguarded-typing-import:
CALLBACK_TYPEused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L33 - unguarded-typing-import:
Eventused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L33 - unguarded-typing-import:
DiscoveryKeyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L52 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L61 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L61 - unguarded-typing-import:
DiscoveryInfoTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/config_entries.py#L61 - unguarded-typing-import:
Hashableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Containerused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
Requiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/data_entry_flow.py#L21 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/bootstrap.py#L19 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/bootstrap.py#L92 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11 - unguarded-typing-import:
Collectionused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11 - unguarded-typing-import:
KeysViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L11 - unguarded-typing-import:
concurrent.futuresused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L20 - unguarded-typing-import:
datetimeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L23 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L35 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L35 - unguarded-typing-import:
NotRequiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L35 - unguarded-typing-import:
VolSchemaTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L99 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L99 - unguarded-typing-import:
EventTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L108 - unguarded-typing-import:
UnitSystemused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/0d9f2aee700d218f64e279dcccb8907bc5f15e49/homeassistant/core.py#L115 - unguarded-typing-import:
*
Anyused only for typechecking b...
This comment was truncated because GitHub allows only 65536 characters in a comment.
This comment was generated for commit af507d7369b6ef86e8e84c4a3a98e5bbfd4d0059
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/typing.py#L8 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/filter_statements.py#L29
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/filter_statements.py#L39
- unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/filter_statements.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/helpers.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/helpers.py#L22 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L12 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L12 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L30 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L30 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/bases.py#L30 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/arguments.py#L11 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/context.py#L11 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/context.py#L14 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/context.py#L14 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L16 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L16 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L17 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L17 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L20 - unguarded-typing-import:
AstroidManagerBrainused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/manager.py#L37 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/transforms.py#L13 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L16 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L18 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L18 - unguarded-typing-import:
NoReturnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L18 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L21 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L31 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/objects.py#L31 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/test_utils.py#L13 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L10 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L11 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L13 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L16 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L16 - unguarded-typing-import:
TransformFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/inference_tip.py#L16 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L9 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L12 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/exceptions.py#L12 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L14 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L15 - unguarded-typing-import:
ConstFactoryResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L28 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L28 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/protocols.py#L28 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/util.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/util.py#L9 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/util.py#L9 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L28 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L30 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/modutils.py#L30 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/raw_building.py#L19 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/raw_building.py#L21 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L14 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L14 - unguarded-typing-import:
TokenInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L16 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L17 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L20 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L22 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L23 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/rebuilder.py#L26 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/constraint.py#L10 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/constraint.py#L14 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/constraint.py#L17 - unguarded-typing-import:
astused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L17 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L19 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L19 - unguarded-typing-import:
TextIOWrapperused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L20 - unguarded-typing-import:
ParserModuleused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/builder.py#L24 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/decorators.py#L13 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/decorators.py#L13 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/decorators.py#L19 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L16 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L18 - unguarded-typing-import:
Contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L29 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L50 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_classes.py#L58 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L10 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L13 - unguarded-typing-import:
Positionused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L36 - unguarded-typing-import:
InferFnused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
InferenceErrorInfoused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L37 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/node_ng.py#L40 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/_base_nodes.py#L13 - unguarded-typing-import:
ClassVarused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/_base_nodes.py#L15 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/nodes/as_string.py#L10 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
Sequenceused 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 - unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Generatorused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
ClassVarused 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 - unguarded-typing-import:
Literalused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
Positionused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
InferBinaryOpused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_curses.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_curses.py#L8 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_type.py#L27 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_type.py#L30 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_argparse.py#L8 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_argparse.py#L11 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_collections.py#L12 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/helpers.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/helpers.py#L9 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pathlib.py#L7 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pathlib.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pathlib.py#L14 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_signal.py#L32 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dateutil.py#L9 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
Attributeused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L113
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L119
- undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_namedtuple_enum.py#L123
- unguarded-typing-import:
Iteratorused 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 - unguarded-typing-import:
Finalused 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 - unguarded-typing-import:
astroidused 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 - unguarded-typing-import:
basesused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ctypes.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ctypes.py#L18 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_responses.py#L13 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_responses.py#L16 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_nose.py#L14 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dataclasses.py#L17 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dataclasses.py#L20 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_dataclasses.py#L26 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_random.py#L9 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_random.py#L12 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_regex.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_regex.py#L11 - unguarded-typing-import:
Callableused 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 - unguarded-typing-import:
Iterableused 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 - unguarded-typing-import:
NoReturnused 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 - unguarded-typing-import:
Anyused 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 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
SuccessfulInferenceResultused 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 - unguarded-typing-import:
InferenceResultused 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 - unguarded-typing-import:
ConstFactoryResultused 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 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L11 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L13 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L15 - unguarded-typing-import:
NodeNGused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_typing.py#L27 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_boto3.py#L8 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_uuid.py#L6 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_sqlalchemy.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_sqlalchemy.py#L8 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ssl.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_ssl.py#L11 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_multiprocessing.py#L9 - unguarded-typing-import:
InferenceContextused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_crypt.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_crypt.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_threading.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_threading.py#L8 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
contextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_re.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_re.py#L12 - unguarded-typing-import:
nodesused 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 - unguarded-typing-import:
AstroidManagerused 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 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_attrs.py#L11 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_unittest.py#L6 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_unittest.py#L9 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_subprocess.py#L7 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_subprocess.py#L11 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_pytest.py#L6 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_http.py#L8 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_datetime.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_hypothesis.py#L19 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L9 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L13 - unguarded-typing-import:
InferenceContextused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L15 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L19 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_functools.py#L22 - unguarded-typing-import:
nodesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_hashlib.py#L5 - unguarded-typing-import:
AstroidManagerused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/brain/brain_hashlib.py#L8 - undefined-variable: Undefined variable 'nodes' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L567
- unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L30 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
Literalused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L32 - unguarded-typing-import:
SuccessfulInferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
InferenceResultused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/objectmodel.py#L40 - unguarded-typing-import:
_NamespacePathused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/util.py#L10 - undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L124
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L125
- undefined-variable: Undefined variable 'importlib' https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L126
- unguarded-typing-import:
pathlibused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L13 - unguarded-typing-import:
typesused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L15 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iteratorused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/pylint-dev/astroid/blob/4a5f5ef3e73ab2738d8238e888a7f5e7912c8cd0/astroid/interpreter/_import/spec.py#L18 - unguarded-typing-import:
Literalused 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:
- unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/const.py#L7 - unguarded-typing-import:
Awaitableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L7 - unguarded-typing-import:
ModuleTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L14 - unguarded-typing-import:
Finalused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L15 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L15 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L24 - unguarded-typing-import:
CALLBACK_TYPEused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L24 - unguarded-typing-import:
Eventused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L24 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/setup.py#L34 - used-before-assignment: Using variable 'ConfigEntry' before assignment https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L250
- undefined-variable: Undefined variable 'DiscoveryKey' https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L1926
- unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7 - unguarded-typing-import:
ValuesViewused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L7 - unguarded-typing-import:
Selfused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L25 - unguarded-typing-import:
Platformused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L33 - unguarded-typing-import:
CALLBACK_TYPEused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L34 - unguarded-typing-import:
Eventused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L34 - unguarded-typing-import:
DiscoveryKeyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L53 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L62 - unguarded-typing-import:
UndefinedTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L62 - unguarded-typing-import:
DiscoveryInfoTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/config_entries.py#L62 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/block_async_io.py#L4 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/block_async_io.py#L16 - unguarded-typing-import:
Hashableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Mappingused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Containerused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L8 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
Requiredused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L16 - unguarded-typing-import:
HomeAssistantused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/data_entry_flow.py#L21 - unguarded-typing-import:
Callableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L5 - unguarded-typing-import:
Generatorused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L5 - unguarded-typing-import:
Sequenceused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L5 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L7 - unguarded-typing-import:
EventTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/exceptions.py#L9 - unguarded-typing-import:
Anyused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/bootstrap.py#L19 - unguarded-typing-import:
ConfigTypeused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/bootstrap.py#L92 - unguarded-typing-import:
Iterableused only for typechecking but imported outside of a typechecking block https://github.com/home-assistant/core/blob/9d0701a62b63d95abac9c5da36039f18ed0bd8c7/homeassistant/core.py#L11 - unguarded-typing-import:
Collectionused 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