Skip to content

entries of rows are now rounded to two decimals

Simon Rüdiger Steuer f83e5b9
Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / mypy failed Sep 18, 2023 in 2s

reviewdog [mypy] report

reported by reviewdog 🐶

Findings (69)

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|77 col 16| error: No overload variant of "search" of "Pattern" matches argument type "int" [call-overload]
varats/varats/data/reports/feature_blame_report.py|77 col 16| note: Possible overload variants:
varats/varats/data/reports/feature_blame_report.py|77 col 16| note: def search(self, string: str, pos: int = ..., endpos: int = ...) -> Optional[Match[str]]
varats/varats/data/reports/feature_blame_report.py|124 col 16| error: Incompatible return value type (got "FeatureAnalysisReportMetaData", expected "FeatureBlameReportMetaData") [return-value]
varats/varats/data/reports/feature_blame_report.py|131 col 16| error: Incompatible return value type (got "list[StructuralCommitFeatureInteraction]", expected "ValuesView[StructuralCommitFeatureInteraction]") [return-value]
varats/varats/data/reports/feature_blame_report.py|137 col 37| error: Invalid type comment or annotation [valid-type]
varats/varats/data/reports/feature_blame_report.py|137 col 37| note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)
varats/varats/data/reports/feature_blame_report.py|158 col 44| error: Invalid type comment or annotation [valid-type]
varats/varats/data/reports/feature_blame_report.py|158 col 44| note: Suggestion: use tp.Tuple[...] instead of tp.Tuple(...)
varats/varats/data/reports/feature_blame_report.py|183 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|190 col 17| error: No overload variant of "get" of "dict" matches argument type "FullCommitHash" [call-overload]
varats/varats/data/reports/feature_blame_report.py|190 col 17| note: Possible overload variants:
varats/varats/data/reports/feature_blame_report.py|190 col 17| note: def get(self, str, /) -> Optional[tuple[int, int]]
varats/varats/data/reports/feature_blame_report.py|190 col 17| note: def [_T] get(self, str, Union[tuple[int, int], _T], /) -> Union[tuple[int, int], _T]
varats/varats/data/reports/feature_blame_report.py|193 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 37| error: Dict entry 0 has incompatible type "FullCommitHash": "tuple[int, Any]"; expected "str": "tuple[int, int]" [dict-item]
varats/varats/data/reports/feature_blame_report.py|199 col 37| error: Dict entry 0 has incompatible type "FullCommitHash": "tuple[Any, Any]"; expected "str": "tuple[int, int]" [dict-item]
varats/varats/data/reports/feature_blame_report.py|236 col 41| error: Unsupported operand types for + ("str" and "FullCommitHash") [operator]
varats/varats/data/reports/feature_blame_report.py|251 col 16| error: No overload variant of "search" of "Pattern" matches argument type "list[CommitRepoPair]" [call-overload]
varats/varats/data/reports/feature_blame_report.py|251 col 16| note: Possible overload variants:
varats/varats/data/reports/feature_blame_report.py|251 col 16| note: def search(self, string: str, pos: int = ..., endpos: int = ...) -> Optional[Match[str]]
varats/varats/data/reports/feature_blame_report.py|295 col 16| error: Incompatible return value type (got "FeatureAnalysisReportMetaData", expected "FeatureBlameReportMetaData") [return-value]
varats/varats/data/reports/feature_blame_report.py|302 col 16| error: Incompatible return value type (got "list[DataflowCommitFeatureInteraction]", expected "ValuesView[DataflowCommitFeatureInteraction]") [return-value]
varats/varats/data/reports/feature_blame_report.py|310 col 32| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|333 col 40| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/data/reports/feature_blame_report.py|367 col 40| error: Argument 1 to "ShortCommitHash" has incompatible type "FullCommitHash"; expected "str" [arg-type]
varats/varats/experiments/vara/feature_blame_report_experiment.py|41 col 5| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats/varats/plots/feature_blame_plots.py|36 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|118 col 13| error: Cannot instantiate abstract class "FeatureSizeCorrSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|158 col 13| error: Cannot instantiate abstract class "FeatureDisSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|194 col 13| error: Cannot instantiate abstract class "FeatureSizeDisSFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|200 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|200 col 50| error: Syntax error in type annotation [syntax]
varats/varats/plots/feature_blame_plots.py|200 col 50| note: Suggestion: Use Tuple[T1, ..., Tn] instead of (T1, ..., Tn)
varats/varats/plots/feature_blame_plots.py|210 col 53| error: Call to untyped function (unknown) in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|230 col 30| error: Call to untyped function (unknown) in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|250 col 9| error: Function is missing a type annotation [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|255 col 57| error: Call to untyped function "func" in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|267 col 13| error: Cannot instantiate abstract class "CommitSFBRPieChart" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|325 col 13| error: Cannot instantiate abstract class "CommitProportionalStructuralPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|395 col 23| error: Name "get_commit_dataflow_data_for_case_study" is not defined [name-defined]
varats/varats/plots/feature_blame_plots.py|403 col 9| error: Function is missing a type annotation [no-untyped-def]
varats/varats/plots/feature_blame_plots.py|408 col 57| error: Call to untyped function "func" in typed context [no-untyped-call]
varats/varats/plots/feature_blame_plots.py|420 col 13| error: Cannot instantiate abstract class "CommitDFBRPieChart" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|502 col 13| error: Cannot instantiate abstract class "SpecificCommitProportionalDataflowPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|569 col 13| error: Cannot instantiate abstract class "GeneralCommitProportionalDataflowPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|611 col 13| error: Cannot instantiate abstract class "FeatureSizeCorrDFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|654 col 13| error: Cannot instantiate abstract class "FeatureDisDFBRPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|693 col 16| error: Bracketed expression "[...]" is not valid as a type [valid-type]
varats/varats/plots/feature_blame_plots.py|693 col 16| note: Did you mean "List[...]"?
varats/varats/plots/feature_blame_plots.py|739 col 13| error: Cannot instantiate abstract class "FeatureAuthorDisPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/plots/feature_blame_plots.py|771 col 13| error: Cannot instantiate abstract class "FeatureSizeCorrAuthorPlot" with abstract attribute "calc_missing_revisions" [abstract]
varats/varats/tables/feature_blame_tables.py|58 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|161 col 17| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|169 col 17| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|252 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|359 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|364 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|369 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|376 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|383 col 38| error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str" [arg-type]
varats/varats/tables/feature_blame_tables.py|535 col 16| error: Name "get_dataflow_data_for_case_study" is not defined [name-defined]
varats/varats/tables/feature_blame_tables.py|537 col 9| error: Need type annotation for "rows" (hint: "rows: List[] = ...") [var-annotated]
varats/varats/tables/feature_blame_tables.py|575 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/tables/feature_blame_tables.py|585 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_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 77 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#L77

error: No overload variant of "search" of "Pattern" matches argument type "int"  [call-overload]
Raw output
varats/varats/data/reports/feature_blame_report.py:77:16: error: No overload variant of "search" of "Pattern" matches argument type "int"  [call-overload]

Check failure on line 77 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#L77

note: Possible overload variants:
Raw output
varats/varats/data/reports/feature_blame_report.py:77:16: note: Possible overload variants:

Check failure on line 77 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#L77

note:     def search(self, string: str, pos: int = ..., endpos: int = ...) -> Optional[Match[str]]
Raw output
varats/varats/data/reports/feature_blame_report.py:77:16: note:     def search(self, string: str, pos: int = ..., endpos: int = ...) -> Optional[Match[str]]

Check failure on line 124 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#L124

error: Incompatible return value type (got "FeatureAnalysisReportMetaData", expected "FeatureBlameReportMetaData")  [return-value]
Raw output
varats/varats/data/reports/feature_blame_report.py:124:16: error: Incompatible return value type (got "FeatureAnalysisReportMetaData", expected "FeatureBlameReportMetaData")  [return-value]

Check failure on line 131 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#L131

error: Incompatible return value type (got "list[StructuralCommitFeatureInteraction]", expected "ValuesView[StructuralCommitFeatureInteraction]")  [return-value]
Raw output
varats/varats/data/reports/feature_blame_report.py:131:16: error: Incompatible return value type (got "list[StructuralCommitFeatureInteraction]", expected "ValuesView[StructuralCommitFeatureInteraction]")  [return-value]

Check failure on line 137 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#L137

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

Check failure on line 137 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#L137

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

Check failure on line 158 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#L158

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

Check failure on line 158 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#L158

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

Check failure on line 183 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#L183

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

Check failure on line 190 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#L190

error: No overload variant of "get" of "dict" matches argument type "FullCommitHash"  [call-overload]
Raw output
varats/varats/data/reports/feature_blame_report.py:190:17: error: No overload variant of "get" of "dict" matches argument type "FullCommitHash"  [call-overload]

Check failure on line 190 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#L190

note: Possible overload variants:
Raw output
varats/varats/data/reports/feature_blame_report.py:190:17: note: Possible overload variants:

Check failure on line 190 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#L190

note:     def get(self, str, /) -> Optional[tuple[int, int]]
Raw output
varats/varats/data/reports/feature_blame_report.py:190:17: note:     def get(self, str, /) -> Optional[tuple[int, int]]

Check failure on line 190 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#L190

note:     def [_T] get(self, str, Union[tuple[int, int], _T], /) -> Union[tuple[int, int], _T]
Raw output
varats/varats/data/reports/feature_blame_report.py:190:17: note:     def [_T] get(self, str, Union[tuple[int, int], _T], /) -> Union[tuple[int, int], _T]

Check failure on line 193 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#L193

error: Argument 1 to "FullCommitHash" has incompatible type "FullCommitHash"; expected "str"  [arg-type]
Raw output
varats/varats/data/reports/feature_blame_report.py:193: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: Dict entry 0 has incompatible type "FullCommitHash": "tuple[int, Any]"; expected "str": "tuple[int, int]"  [dict-item]
Raw output
varats/varats/data/reports/feature_blame_report.py:197:37: error: Dict entry 0 has incompatible type "FullCommitHash": "tuple[int, Any]"; expected "str": "tuple[int, int]"  [dict-item]

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: Dict entry 0 has incompatible type "FullCommitHash": "tuple[Any, Any]"; expected "str": "tuple[int, int]"  [dict-item]
Raw output
varats/varats/data/reports/feature_blame_report.py:199:37: error: Dict entry 0 has incompatible type "FullCommitHash": "tuple[Any, Any]"; expected "str": "tuple[int, int]"  [dict-item]

Check failure on line 236 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#L236

error: Unsupported operand types for + ("str" and "FullCommitHash")  [operator]
Raw output
varats/varats/data/reports/feature_blame_report.py:236:41: error: Unsupported operand types for + ("str" and "FullCommitHash")  [operator]

Check failure on line 251 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#L251

error: No overload variant of "search" of "Pattern" matches argument type "list[CommitRepoPair]"  [call-overload]
Raw output
varats/varats/data/reports/feature_blame_report.py:251:16: error: No overload variant of "search" of "Pattern" matches argument type "list[CommitRepoPair]"  [call-overload]

Check failure on line 251 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#L251

note: Possible overload variants:
Raw output
varats/varats/data/reports/feature_blame_report.py:251:16: note: Possible overload variants:

Check failure on line 251 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#L251

note:     def search(self, string: str, pos: int = ..., endpos: int = ...) -> Optional[Match[str]]
Raw output
varats/varats/data/reports/feature_blame_report.py:251:16: note:     def search(self, string: str, pos: int = ..., endpos: int = ...) -> Optional[Match[str]]

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: Incompatible return value type (got "FeatureAnalysisReportMetaData", expected "FeatureBlameReportMetaData")  [return-value]
Raw output
varats/varats/data/reports/feature_blame_report.py:295:16: error: Incompatible return value type (got "FeatureAnalysisReportMetaData", expected "FeatureBlameReportMetaData")  [return-value]

Check failure on line 302 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#L302

error: Incompatible return value type (got "list[DataflowCommitFeatureInteraction]", expected "ValuesView[DataflowCommitFeatureInteraction]")  [return-value]
Raw output
varats/varats/data/reports/feature_blame_report.py:302:16: error: Incompatible return value type (got "list[DataflowCommitFeatureInteraction]", expected "ValuesView[DataflowCommitFeatureInteraction]")  [return-value]