Add new check: unguarded-typing-import
#10182
Annotations
6 errors and 10 warnings
Run pylint checks:
tests/config/test_config.py#L140
Undefined variable 're'
|
Run pylint checks:
pylint/checkers/threading_checker.py#L47
Undefined variable 'nodes'
|
Run pylint checks:
pylint/pyreverse/diagrams.py#L261
Undefined variable 'PackageEntity'
|
Run pylint checks:
pylint/testutils/_primer/primer.py#L126
Undefined variable 'PackageToLint'
|
Run pylint checks:
pylint/testutils/lint_module_test.py#L225
Undefined variable 'OutputLine'
|
Run pylint checks
Process completed with exit code 1.
|
Run pylint checks:
tests/pyreverse/test_writer.py#L11
`Iterator` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/pyreverse/test_writer.py#L13
`Path` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/pyreverse/test_writer.py#L17
`MonkeyPatch` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/pyreverse/test_writer.py#L20
`Project` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/pyreverse/test_writer.py#L22
`PyreverseConfig` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/pyreverse/test_writer.py#L23
`GetProjectCallable` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/testutils/test_testutils_utils.py#L7
`Path` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/lint/unittest_lint.py#L14
`Iterator` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/lint/unittest_lint.py#L26
`nodes` used only for typechecking but imported outside of a typechecking block
|
Run pylint checks:
tests/lint/unittest_lint.py#L27
`CaptureFixture` used only for typechecking but imported outside of a typechecking block
|
Loading