Skip to content

F feature blame plots #678

F feature blame plots

F feature blame plots #678

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / mypy failed Sep 26, 2023 in 1s

reviewdog [mypy] report

reported by reviewdog 🐶

Findings (67)

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|120 col 37| error: Invalid type comment or annotation [valid-type]
varats/varats/data/reports/feature_blame_report.py|120 col 37| note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)
varats/varats/data/reports/feature_blame_report.py|122 col 39| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|147 col 44| error: Invalid type comment or annotation [valid-type]
varats/varats/data/reports/feature_blame_report.py|147 col 44| note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)
varats/varats/data/reports/feature_blame_report.py|149 col 39| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|173 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|182 col 39| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|188 col 60| error: Argument 1 to "FullCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|208 col 21| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|209 col 56| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|210 col 36| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|211 col 31| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|212 col 13| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|213 col 64| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|214 col 45| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|215 col 40| error: Value of type "Optional[tuple[list[set[str]], int]]" is not indexable [index]
varats/varats/data/reports/feature_blame_report.py|308 col 32| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|331 col 40| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|366 col 40| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|428 col 44| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|430 col 38| error: "StructuralCommitFeatureInteraction" has no attribute "feature"; maybe "features" or "__features"? [attr-defined]
varats/varats/plots/feature_blame_plots.py|37 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|122 col 13| error: Cannot instantiate abstract class "FeatureSizeCorrSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|170 col 13| error: Cannot instantiate abstract class "FeatureDisSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|206 col 13| error: Cannot instantiate abstract class "FeatureSizeDisSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|215 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|215 col 50| error: Syntax error in type annotation [syntax]
varats/varats/plots/feature_blame_plots.py|215 col 50| note: Suggestion: Use Tuple[T1, ..., Tn] instead of (T1, ..., Tn)
varats/varats/plots/feature_blame_plots.py|225 col 42| error: Call to untyped function (unknown) in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|245 col 17| error: Call to untyped function (unknown) in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|260 col 9| error: Function is missing a type annotation [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|278 col 41| error: Call to untyped function "func" in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|293 col 13| error: Cannot instantiate abstract class "CommitSFBRPieChart" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|352 col 13| error: Cannot instantiate abstract class "CommitProportionalStructuralPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|423 col 13| error: Argument 1 to "get_specific_stacked_proportional_commit_dataflow_data" has incompatible type "CaseStudy"; expected "list[CaseStudy]" [arg-type]
varats/varats/plots/feature_blame_plots.py|432 col 9| error: Function is missing a type annotation [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|437 col 57| error: Call to untyped function "func" in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|449 col 13| error: Cannot instantiate abstract class "CommitDFBRPieChart" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|531 col 13| error: Cannot instantiate abstract class "SpecificCommitProportionalDataflowPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|601 col 13| error: Cannot instantiate abstract class "GeneralCommitProportionalDataflowPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|643 col 13| error: Cannot instantiate abstract class "FeatureSizeCorrDFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|677 col 9| error: Statement is unreachable [unreachable]
varats/varats/plots/feature_blame_plots.py|717 col 13| error: Cannot instantiate abstract class "FeatureDisDFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|762 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|773 col 16| error: Bracketed expression "[...]" is not valid as a type [valid-type]
varats/varats/plots/feature_blame_plots.py|773 col 16| note: Did you mean "List[...]"?
varats/varats/plots/feature_blame_plots.py|826 col 13| error: Cannot instantiate abstract class "FeatureAuthorStructDisPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|865 col 13| error: Cannot instantiate abstract class "FeatureAuthorDataflowDisPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|928 col 13| error: Cannot instantiate abstract class "FeatureCombinedAuthorPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|960 col 13| error: Cannot instantiate abstract class "FeatureSizeCorrAuthorPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/tables/feature_blame_tables.py|60 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|314 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|422 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|427 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|432 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|439 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|446 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|600 col 16| error: Name "get_dataflow_data_for_case_study" is not defined [name-defined]
varats/varats/tables/feature_blame_tables.py|602 col 9| error: Need type annotation for "rows" (hint: "rows: List[] = ...") [var-annotated]
varats/varats/tables/feature_blame_tables.py|640 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/tables/feature_blame_tables.py|648 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/tables/feature_blame_tables.py|697 col 38| error: Argument 1 to "append" of "list" has incompatible type "tuple[Any, Any]"; expected "str" [arg-type]
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_scfi_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 (77)

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 120 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#L120

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

Check failure on line 120 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#L120

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

Check failure on line 122 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#L122

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

Check failure on line 147 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#L147

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

Check failure on line 147 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#L147

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

Check failure on line 149 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#L149

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

Check failure on line 173 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#L173

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:173:1: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 182 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#L182

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

Check failure on line 188 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#L188

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

Check failure on line 208 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#L208

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

Check failure on line 209 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#L209

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

Check failure on line 210 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#L210

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

Check failure on line 211 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#L211

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

Check failure on line 212 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#L212

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

Check failure on line 213 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#L213

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

Check failure on line 214 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#L214

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

Check failure on line 215 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#L215

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

Check failure on line 308 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#L308

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

Check failure on line 331 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#L331

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

Check failure on line 366 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#L366

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

Check failure on line 428 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#L428

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

Check failure on line 430 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#L430

error: "StructuralCommitFeatureInteraction" has no attribute "feature"; maybe "features" or "__features"?  [attr-defined]
Raw output
varats/varats/data/reports/feature_blame_report.py:430:38: error: "StructuralCommitFeatureInteraction" has no attribute "feature"; maybe "features" or "__features"?  [attr-defined]

Check failure on line 37 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#L37

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:37:1: error: Module "varats.utils.git_util" does not explicitly export attribute "get_local_project_git_path"  [attr-defined]