Skip to content

F feature blame plots #3006

F feature blame plots

F feature blame plots #3006

GitHub Actions / mypy failed Oct 5, 2023 in 2s

reviewdog [mypy] report

reported by reviewdog 🐶

Findings (53)

varats-core/varats/utils/git_util.py|409 col 29| error: Function "builtins.any" is not valid as a type [valid-type]
varats-core/varats/utils/git_util.py|409 col 29| note: Perhaps you meant "typing.Any" instead of "any"?
varats/varats/data/reports/feature_blame_report.py|123 col 39| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|162 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/reports/feature_blame_report.py|171 col 39| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|177 col 60| error: Argument 1 to "FullCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|197 col 21| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|198 col 56| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|199 col 36| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|200 col 31| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|201 col 13| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|202 col 64| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|203 col 45| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|204 col 40| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|295 col 32| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|318 col 40| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|358 col 40| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|425 col 9| error: Name "commit_hash" already defined on line 424 [no-redef]
varats/varats/data/reports/feature_blame_report.py|480 col 39| error: Invalid type comment or annotation [valid-type]
varats/varats/data/reports/feature_blame_report.py|480 col 39| note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)
varats/varats/plots/feature_blame_plots.py|39 col 1| error: Module "varats.utils.git_util" does not explicitly export attribute "get_local_project_git_path" [attr-defined]
varats/varats/plots/feature_blame_plots.py|95 col 1| error: Function is missing a return type annotation [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|110 col 16| error: Module "matplotlib.pyplot" does not explicitly export attribute "GridSpec" [attr-defined]
varats/varats/plots/feature_blame_plots.py|211 col 13| error: Cannot instantiate abstract class "FeatureSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|322 col 13| error: Cannot instantiate abstract class "CommitSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|387 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|417 col 25| error: Argument 2 to "get_commit_specific_dataflow_data_for_case_study" has incompatible type "Optional[int]"; expected "int" [arg-type]
varats/varats/plots/feature_blame_plots.py|423 col 40| error: Unsupported operand types for / ("int" and "None") [operator]
varats/varats/plots/feature_blame_plots.py|423 col 40| note: Right operand is of type "Optional[int]"
varats/varats/plots/feature_blame_plots.py|429 col 13| error: Unsupported operand types for / ("int" and "None") [operator]
varats/varats/plots/feature_blame_plots.py|429 col 13| note: Right operand is of type "Optional[int]"
varats/varats/plots/feature_blame_plots.py|465 col 25| error: Argument 2 to "get_commit_specific_dataflow_data_for_case_study" has incompatible type "Optional[int]"; expected "int" [arg-type]
varats/varats/plots/feature_blame_plots.py|584 col 31| error: Variable "case_studies" is not valid as a type [valid-type]
varats/varats/plots/feature_blame_plots.py|584 col 31| note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
varats/varats/plots/feature_blame_plots.py|586 col 13| error: Cannot instantiate abstract class "ProportionalCommitDFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|696 col 13| error: Cannot instantiate abstract class "FeatureDFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|728 col 16| error: Module "matplotlib.pyplot" does not explicitly export attribute "GridSpec" [attr-defined]
varats/varats/plots/feature_blame_plots.py|828 col 13| error: Cannot instantiate abstract class "AuthorCFIPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/tables/feature_blame_tables.py|326 col 13| error: Name "get_structural_feature_author_data_for_case_study" is not defined [name-defined]
varats/varats/tables/feature_blame_tables.py|350 col 38| error: Argument 1 to "append" of "list" has incompatible type "tuple[Any, Any]"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|425 col 29| error: Argument 2 to "get_commit_specific_dataflow_data_for_case_study" has incompatible type "Optional[int]"; expected "int" [arg-type]
varats/varats/tables/feature_blame_tables.py|446 col 38| error: Argument 1 to "append" of "list" has incompatible type "int"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|477 col 21| error: List item 0 has incompatible type "float"; expected "str" [list-item]
varats/varats/tables/feature_blame_tables.py|478 col 21| error: List item 1 has incompatible type "float"; expected "str" [list-item]
varats/varats/tables/feature_blame_tables.py|479 col 21| error: List item 2 has incompatible type "float"; expected "str" [list-item]
varats/varats/tables/feature_blame_tables.py|614 col 16| error: Name "get_dataflow_data_for_case_study" is not defined [name-defined]
varats/varats/tables/feature_blame_tables.py|616 col 9| error: Need type annotation for "rows" (hint: "rows: List[] = ...") [var-annotated]
varats/varats/tables/feature_blame_tables.py|654 col 13| error: Name "get_dataflow_feature_author_data_for_case_study" is not defined [name-defined]
varats/varats/tables/feature_blame_tables.py|678 col 38| error: Argument 1 to "append" of "list" has incompatible type "tuple[Any, Any]"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|732 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/tables/feature_blame_tables.py|748 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_blame_databases.py|12 col 1| error: Module "varats.data.reports.feature_blame_report" has no attribute "generate_features_scfi_data"; maybe "generate_feature_scfi_data", "generate_feature_dcfi_data", or "generate_feature_author_data"? [attr-defined]
varats/varats/data/databases/feature_blame_databases.py|180 col 24| error: Item "None" of "Optional[CaseStudy]" has no attribute "revisions" [union-attr]

Filtered Findings (80)

varats-core/varats/experiment/steps/patch.py|13 col 18| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats-core/varats/experiment/steps/patch.py|45 col 19| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats-core/varats/experiment/steps/patch.py|51 col 5| error: Function is missing a type annotation [no-untyped-def]
varats/varats/plot/plot_utils.py|108 col 28| error: Incompatible default for argument "ax" (default has type "None", argument has type "SubplotBase") [assignment]
varats/varats/plot/plot_utils.py|108 col 28| note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
varats/varats/plot/plot_utils.py|108 col 28| note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
varats/varats/plot/plot_utils.py|114 col 10| error: Incompatible types in assignment (expression has type "Union[SubplotBase, Axes]", variable has type "SubplotBase") [assignment]
varats/varats/plot/plot_utils.py|116 col 5| error: "SubplotBase" has no attribute "annotate" [attr-defined]
varats/varats/plot/plot_utils.py|119 col 18| error: "SubplotBase" has no attribute "transAxes" [attr-defined]
varats/varats/plot/plot_utils.py|124 col 5| error: "SubplotBase" has no attribute "annotate" [attr-defined]
varats/varats/plot/plot_utils.py|127 col 18| error: "SubplotBase" has no attribute "transAxes" [attr-defined]
varats/varats/plot/plot.py|129 col 9| error: Call to untyped function "show" in typed context [no-untyped-call]
varats/varats/tools/driver_table.py|47 col 10| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_table.py|47 col 10| note: This is likely because "command_template" has named arguments: "context". Consider marking them positional-only
varats/varats/tools/driver_table.py|86 col 2| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_table.py|86 col 2| note: This is likely because "main" has named arguments: "context". Consider marking them positional-only
varats/varats/tools/driver_plot.py|47 col 10| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_plot.py|47 col 10| note: This is likely because "command_template" has named arguments: "context". Consider marking them positional-only
varats/varats/tools/driver_plot.py|86 col 2| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_plot.py|86 col 2| note: This is likely because "main" has named arguments: "context". Consider marking them positional-only
varats/varats/plots/paper_config_overview.py|221 col 25| error: Argument "facecolor" to "Patch" has incompatible type "ndarray[Any, dtype[floating[_64Bit]]]"; expected "Optional[Union[Union[tuple[float, float, float], str], Union[str, tuple[float, float, float, float], tuple[Union[tuple[float, float, float], str], float], tuple[tuple[float, float, float, float], float]]]]" [arg-type]
varats/varats/plots/paper_config_overview.py|222 col 25| error: Argument "facecolor" to "Patch" has incompatible type "ndarray[Any, dtype[floating[_64Bit]]]"; expected "Optional[Union[Union[tuple[float, float, float], str], Union[str, tuple[float, float, float, float], tuple[Union[tuple[float, float, float], str], float], tuple[tuple[float, float, float, float], float]]]]" [arg-type]
varats/varats/plots/paper_config_overview.py|223 col 25| error: Argument "facecolor" to "Patch" has incompatible type "ndarray[Any, dtype[floating[_64Bit]]]"; expected "Optional[Union[Union[tuple[float, float, float], str], Union[str, tuple[float, float, float, float], tuple[Union[tuple[float, float, float], str], float], tuple[tuple[float, float, float, float], float]]]]" [arg-type]
varats/varats/tools/driver_casestudy.py|395 col 10| error: Argument 1 to "pass_context" has incompatible type "Callable[[Arg(Context, 'context'), KwArg(Any)], None]"; expected "Callable[[Context, KwArg(Any)], None]" [arg-type]
varats/varats/tools/driver_casestudy.py|395 col 10| note: This is likely because "command_template" has named arguments: "context". Consider marking them positional-only
varats/varats/plots/commit_report_plots.py|8 col 1| error: Module "matplotlib.backends.backend_qt5agg" does not explicitly export attribute "FigureCanvasQTAgg" [attr-defined]
varats/varats/plots/commit_report_plots.py|31 col 23| error: Call to untyped function "FigureCanvasQTAgg" in typed context [no-untyped-call]
varats/varats/plots/commit_report_plots.py|56 col 9| error: Call to untyped function "draw" in typed context [no-untyped-call]
varats/varats/plots/blame_lorenz_curve.py|59 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|73 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|109 col 9| error: Argument 1 to "draw_code_churn" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|177 col 13| error: Argument 1 to "draw_interaction_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|181 col 13| error: Argument 1 to "draw_perfect_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|184 col 37| error: Argument 1 to "draw_interaction_code_churn" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|188 col 13| error: Argument 1 to "draw_interaction_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|192 col 13| error: Argument 1 to "draw_perfect_lorenz_curve" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|196 col 13| error: Argument 1 to "draw_interaction_code_churn" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|297 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|347 col 5| error: "SubplotBase" has no attribute "plot" [attr-defined]
varats/varats/plots/blame_lorenz_curve.py|395 col 13| error: Argument 1 to "draw_gini_blame_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|399 col 13| error: Argument 1 to "draw_gini_blame_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|403 col 13| error: Argument 1 to "draw_gini_blame_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|407 col 13| error: Argument 1 to "draw_gini_churn_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|411 col 13| error: Argument 1 to "draw_gini_churn_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|415 col 13| error: Argument 1 to "draw_gini_churn_over_time" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_lorenz_curve.py|422 col 37| error: Argument 1 to "draw_interaction_code_churn" has incompatible type "Axes"; expected "SubplotBase" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|57 col 28| error: Incompatible default for argument "ax" (default has type "None", argument has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|57 col 28| note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
varats/varats/plots/blame_diff_correlation_matrix.py|57 col 28| note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
varats/varats/plots/blame_diff_correlation_matrix.py|63 col 10| error: Incompatible types in assignment (expression has type "Union[SubplotBase, Axes]", variable has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|70 col 11| error: "SubplotBase" has no attribute "twinx" [attr-defined]
varats/varats/plots/blame_diff_correlation_matrix.py|94 col 14| error: Argument 1 to "pad_axes" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|96 col 17| error: Argument 1 to "align_yaxis" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|124 col 28| error: Incompatible default for argument "ax" (default has type "None", argument has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|124 col 28| note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
varats/varats/plots/blame_diff_correlation_matrix.py|124 col 28| note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
varats/varats/plots/blame_diff_correlation_matrix.py|128 col 10| error: Incompatible types in assignment (expression has type "Union[SubplotBase, Axes]", variable has type "SubplotBase") [assignment]
varats/varats/plots/blame_diff_correlation_matrix.py|133 col 11| error: "SubplotBase" has no attribute "twinx" [attr-defined]
varats/varats/plots/blame_diff_correlation_matrix.py|136 col 14| error: Argument 1 to "pad_axes" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_diff_correlation_matrix.py|138 col 17| error: Argument 1 to "align_yaxis" has incompatible type "SubplotBase"; expected "Axes" [arg-type]
varats/varats/plots/blame_verifier_report_plots.py|226 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlim" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|226 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlim" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|227 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "grid" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|227 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "grid" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|228 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|228 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_xlabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|229 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_ylabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|229 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "set_ylabel" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|230 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "yaxis" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|230 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "yaxis" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|247 col 9| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "plot" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|247 col 9| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "plot" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|254 col 5| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "title" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|254 col 5| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "title" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|254 col 5| error: Item "Axes" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "title" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|257 col 9| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "get_xticklabels" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|257 col 9| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "get_xticklabels" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|260 col 14| error: Item "ndarray[Any, Any]" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "legend" [union-attr]
varats/varats/plots/blame_verifier_report_plots.py|260 col 14| error: Item "SubplotBase" of "Union[ndarray[Any, Any], SubplotBase, Axes]" has no attribute "legend" [union-attr]
varats/varats/tools/driver_graph_view.py|35 col 17| error: Redundant cast to "StandardButtons" [redundant-cast]

Annotations

Check failure on line 409 in varats-core/varats/utils/git_util.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/utils/git_util.py#L409

error: Function "builtins.any" is not valid as a type  [valid-type]
Raw output
varats-core/varats/utils/git_util.py:409:29: error: Function "builtins.any" is not valid as a type  [valid-type]

Check failure on line 409 in varats-core/varats/utils/git_util.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/utils/git_util.py#L409

note: Perhaps you meant "typing.Any" instead of "any"?
Raw output
varats-core/varats/utils/git_util.py:409:29: note: Perhaps you meant "typing.Any" instead of "any"?

Check failure on line 123 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L123

error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:123:39: error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]

Check failure on line 162 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L162

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/data/reports/feature_blame_report.py:162:1: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 171 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L171

error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:171:39: error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]

Check failure on line 177 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L177

error: Argument 1 to "FullCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:177:60: error: Argument 1 to "FullCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]

Check failure on line 197 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L197

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:197:21: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 198 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L198

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:198:56: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 199 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L199

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:199:36: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 200 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L200

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:200:31: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 201 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L201

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:201:13: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 202 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L202

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:202:64: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 203 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L203

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:203:45: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 204 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L204

error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]
Raw output
varats/varats/data/reports/feature_blame_report.py:204:40: error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable  [index]

Check failure on line 295 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L295

error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:295:32: error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]

Check failure on line 318 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L318

error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:318:40: error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]

Check failure on line 358 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L358

error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:358:40: error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]

Check failure on line 425 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L425

error: Name "commit_hash" already defined on line 424  [no-redef]
Raw output
varats/varats/data/reports/feature_blame_report.py:425:9: error: Name "commit_hash" already defined on line 424  [no-redef]

Check failure on line 480 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L480

error: Invalid type comment or annotation  [valid-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:480:39: error: Invalid type comment or annotation  [valid-type]

Check failure on line 480 in varats/varats/data/reports/feature_blame_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/reports/feature_blame_report.py#L480

note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)
Raw output
varats/varats/data/reports/feature_blame_report.py:480:39: note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)

Check failure on line 39 in varats/varats/plots/feature_blame_plots.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/plots/feature_blame_plots.py#L39

error: Module "varats.utils.git_util" does not explicitly export attribute "get_local_project_git_path"  [attr-defined]
Raw output
varats/varats/plots/feature_blame_plots.py:39:1: error: Module "varats.utils.git_util" does not explicitly export attribute "get_local_project_git_path"  [attr-defined]

Check failure on line 95 in varats/varats/plots/feature_blame_plots.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/plots/feature_blame_plots.py#L95

error: Function is missing a return type annotation  [no-untyped-def]
Raw output
varats/varats/plots/feature_blame_plots.py:95:1: error: Function is missing a return type annotation  [no-untyped-def]

Check failure on line 110 in varats/varats/plots/feature_blame_plots.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/plots/feature_blame_plots.py#L110

error: Module "matplotlib.pyplot" does not explicitly export attribute "GridSpec"  [attr-defined]
Raw output
varats/varats/plots/feature_blame_plots.py:110:16: error: Module "matplotlib.pyplot" does not explicitly export attribute "GridSpec"  [attr-defined]

Check failure on line 211 in varats/varats/plots/feature_blame_plots.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/plots/feature_blame_plots.py#L211

error: Cannot instantiate abstract class "FeatureSFBRPlot" with abstract attribute "calc_missing_revisions"  [abstract]
Raw output
varats/varats/plots/feature_blame_plots.py:211:13: error: Cannot instantiate abstract class "FeatureSFBRPlot" with abstract attribute "calc_missing_revisions"  [abstract]

Check failure on line 322 in varats/varats/plots/feature_blame_plots.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/plots/feature_blame_plots.py#L322

error: Cannot instantiate abstract class "CommitSFBRPlot" with abstract attribute "calc_missing_revisions"  [abstract]
Raw output
varats/varats/plots/feature_blame_plots.py:322:13: error: Cannot instantiate abstract class "CommitSFBRPlot" with abstract attribute "calc_missing_revisions"  [abstract]