Add check for unnecessary-default-type-args
#10142
Annotations
1 error and 10 notices
Run pylint checks
Process completed with exit code 1.
|
Run pylint checks:
pylint/checkers/symilar.py#L471
Type `Generator[Commonality, None, None]` has unnecessary default type args. Change it to `Generator[Commonality]`.
|
Run pylint checks:
pylint/checkers/symilar.py#L544
Type `Generator[Commonality, None, None]` has unnecessary default type args. Change it to `Generator[Commonality]`.
|
Run pylint checks:
pylint/checkers/variables.py#L254
Type `Generator[InferenceResult, None, None]` has unnecessary default type args. Change it to `Generator[InferenceResult]`.
|
Run pylint checks:
pylint/pyreverse/diadefslib.py#L87
Type `Generator[nodes.ClassDef, None, None]` has unnecessary default type args. Change it to `Generator[nodes.ClassDef]`.
|
Run pylint checks:
pylint/pyreverse/diadefslib.py#L98
Type `Generator[nodes.ClassDef, None, None]` has unnecessary default type args. Change it to `Generator[nodes.ClassDef]`.
|
Run pylint checks:
tests/pyreverse/test_inspector.py#L29
Type `Generator[Project, None, None]` has unnecessary default type args. Change it to `Generator[Project]`.
|
Run pylint checks:
pylint/testutils/checker_test_case.py#L43
Type `Generator[None, None, None]` has unnecessary default type args. Change it to `Generator[None]`.
|
Run pylint checks:
pylint/utils/pragma_parser.py#L89
Type `Generator[PragmaRepresenter, None, None]` has unnecessary default type args. Change it to `Generator[PragmaRepresenter]`.
|
Run pylint checks:
pylint/checkers/exceptions.py#L38
Type `Generator[tuple[nodes.NodeNG, SuccessfulInferenceResult], None, None]` has unnecessary default type args. Change it to `Generator[tuple[nodes.NodeNG, SuccessfulInferenceResult]]`.
|
Run pylint checks:
pylint/testutils/utils.py#L30
Type `Generator[None, None, None]` has unnecessary default type args. Change it to `Generator[None]`.
|
Loading