Skip to content

Add check for unnecessary-default-type-args #10142

Add check for unnecessary-default-type-args

Add check for unnecessary-default-type-args #10142

Triggered via pull request September 20, 2024 10:06
Status Failure
Total duration 3m 36s
Artifacts

checks.yaml

on: pull_request
Prepare base dependencies
14s
Prepare base dependencies
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 notices
pylint
Process completed with exit code 1.
documentation
Process completed with exit code 1.
R6007: pylint/checkers/symilar.py#L471
Type `Generator[Commonality, None, None]` has unnecessary default type args. Change it to `Generator[Commonality]`.
R6007: pylint/checkers/symilar.py#L544
Type `Generator[Commonality, None, None]` has unnecessary default type args. Change it to `Generator[Commonality]`.
R6007: pylint/checkers/variables.py#L254
Type `Generator[InferenceResult, None, None]` has unnecessary default type args. Change it to `Generator[InferenceResult]`.
R6007: pylint/pyreverse/diadefslib.py#L87
Type `Generator[nodes.ClassDef, None, None]` has unnecessary default type args. Change it to `Generator[nodes.ClassDef]`.
R6007: pylint/pyreverse/diadefslib.py#L98
Type `Generator[nodes.ClassDef, None, None]` has unnecessary default type args. Change it to `Generator[nodes.ClassDef]`.
R6007: tests/pyreverse/test_inspector.py#L29
Type `Generator[Project, None, None]` has unnecessary default type args. Change it to `Generator[Project]`.
R6007: pylint/testutils/checker_test_case.py#L43
Type `Generator[None, None, None]` has unnecessary default type args. Change it to `Generator[None]`.
R6007: pylint/utils/pragma_parser.py#L89
Type `Generator[PragmaRepresenter, None, None]` has unnecessary default type args. Change it to `Generator[PragmaRepresenter]`.
R6007: 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]]`.
R6007: pylint/testutils/utils.py#L30
Type `Generator[None, None, None]` has unnecessary default type args. Change it to `Generator[None]`.