Skip to content
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 (46)

varats-core/varats/experiment/experiment_util.py|529 col 29| error: Class cannot subclass value of type "Any" [misc]
varats-core/varats/report/tef_report.py|72 col 13| error: Attribute "__uuid" already defined on line 70 [no-redef]
varats-core/varats/report/tef_report.py|75 col 13| error: Attribute "__uuid" already defined on line 70 [no-redef]
varats-core/varats/report/tef_report.py|188 col 1| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/report/tef_report.py|188 col 1| note: Use "-> None" if function does not return a value
varats/varats/experiments/vara/feature_perf_precision.py|58 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|100 col 32| error: Argument 2 to "init" of "MultiPatchReport" has incompatible type "type[PerfInfluenceTraceReportAggregate]"; expected "type[TEFReportAggregate]" [arg-type]
varats/varats/experiments/vara/feature_perf_precision.py|111 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|170 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|281 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|372 col 22| error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]") [comparison-overlap]
varats/varats/experiments/vara/feature_perf_precision.py|424 col 28| error: Call to untyped function "RevertPatch" in typed context [no-untyped-call]
varats/varats/experiments/vara/feature_perf_precision.py|545 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|665 col 32| error: Call to untyped function "RevertPatch" in typed context [no-untyped-call]
varats/varats/experiments/vara/feature_perf_precision.py|700 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|765 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|851 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/experiments/vara/feature_perf_precision.py|923 col 22| error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]") [comparison-overlap]
varats/varats/experiments/vara/feature_perf_precision.py|1073 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|10 col 1| error: Skipping analyzing "cliffs_delta": module is installed, but missing library stubs or py.typed marker [import]
varats/varats/data/databases/feature_perf_precision_database.py|10 col 1| note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
varats/varats/data/databases/feature_perf_precision_database.py|59 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|152 col 13| error: Statement is unreachable [unreachable]
varats/varats/data/databases/feature_perf_precision_database.py|184 col 13| error: Statement is unreachable [unreachable]
varats/varats/data/databases/feature_perf_precision_database.py|215 col 5| error: Returning Any from function declared to return "bool" [no-any-return]
varats/varats/data/databases/feature_perf_precision_database.py|281 col 24| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "MultiPatchReport" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|315 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|336 col 24| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "MultiPatchReport" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|337 col 38| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "PerfInfluenceTraceReportAggregate" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|371 col 24| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "MultiPatchReport" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|485 col 13| error: Module "varats.experiments.vara.feature_perf_precision" does not explicitly export attribute "TimeReportAggregate" [attr-defined]
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| error: Signature of "is_regression" incompatible with supertype "Profiler" [override]
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: Superclass:
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: def is_regression(self, report_path: ReportFilepath, patch_name: str) -> bool
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: Subclass:
varats/varats/data/databases/feature_perf_precision_database.py|488 col 5| note: def is_regression(self, report_path: ReportFilepath) -> bool
varats/varats/data/databases/feature_perf_precision_database.py|534 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|677 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/data/databases/feature_perf_precision_database.py|734 col 1| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/tables/feature_perf_precision.py|33 col 1| error: Module "varats.utils.git_util" does not explicitly export attribute "git" [attr-defined]
varats/varats/tables/feature_perf_precision.py|213 col 45| error: "OverheadData" has no attribute "mean_ctx" [attr-defined]
varats/varats/tables/feature_perf_precision.py|224 col 32| error: "OverheadData" has no attribute "config_wise_ctx_diff"; maybe "config_wise_time_diff", "config_wise_memory_diff", or "config_wise_fs_inputs_diff"? [attr-defined]
varats/varats/plots/feature_perf_precision.py|301 col 5| error: Function is missing a type annotation for one or more arguments [no-untyped-def]
varats/varats/plots/feature_perf_precision.py|317 col 13| error: Name "text_obj" already defined on line 316 [no-redef]
varats/varats/plots/feature_perf_precision.py|358 col 24| error: Call to untyped function "plot_pareto_frontier" in typed context [no-untyped-call]
varats/varats/plots/feature_perf_precision.py|404 col 5| error: Function is missing a type annotation [no-untyped-def]

Filtered Findings (95)

varats-core/varats/experiment/steps/recompile.py|8 col 17| error: Class cannot subclass "ProjectStep" (has type "Any") [misc]
varats-core/varats/provider/patch/patch_provider.py|52 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/provider/patch/patch_provider.py|108 col 13| error: Name "include_revisions" already defined on line 106 [no-redef]
varats-core/varats/provider/patch/patch_provider.py|140 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/provider/patch/patch_provider.py|163 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/provider/patch/patch_provider.py|188 col 25| error: Argument 1 to "PatchSet" has incompatible type "frozenset[Patch]"; expected "set[Patch]" [arg-type]
varats-core/varats/provider/patch/patch_provider.py|192 col 25| error: Argument 1 to "PatchSet" has incompatible type "frozenset[Patch]"; expected "set[Patch]" [arg-type]
varats-core/varats/provider/patch/patch_provider.py|214 col 9| error: Returning Any from function declared to return "PatchSet" [no-any-return]
varats-core/varats/provider/patch/patch_provider.py|241 col 9| error: Call to untyped function "_update_local_patches_repo" in typed context [no-untyped-call]
varats-core/varats/provider/patch/patch_provider.py|287 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/provider/patch/patch_provider.py|303 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/provider/patch/patch_provider.py|318 col 9| error: Returning Any from function declared to return "Path" [no-any-return]
varats-core/varats/provider/patch/patch_provider.py|321 col 5| error: Function is missing a return type annotation [no-untyped-def]
varats-core/varats/provider/patch/patch_provider.py|321 col 5| note: Use "-> None" if function does not return a value
varats-core/varats/report/multi_patch_report.py|41 col 16| error: Incompatible return value type (got "Optional[ReportTy]", expected "ReportTy") [return-value]
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 529 in varats-core/varats/experiment/experiment_util.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/experiment/experiment_util.py#L529

error: Class cannot subclass value of type "Any"  [misc]
Raw output
varats-core/varats/experiment/experiment_util.py:529:29: error: Class cannot subclass value of type "Any"  [misc]

Check failure on line 72 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L72

error: Attribute "__uuid" already defined on line 70  [no-redef]
Raw output
varats-core/varats/report/tef_report.py:72:13: error: Attribute "__uuid" already defined on line 70  [no-redef]

Check failure on line 75 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L75

error: Attribute "__uuid" already defined on line 70  [no-redef]
Raw output
varats-core/varats/report/tef_report.py:75:13: error: Attribute "__uuid" already defined on line 70  [no-redef]

Check failure on line 188 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L188

error: Function is missing a return type annotation  [no-untyped-def]
Raw output
varats-core/varats/report/tef_report.py:188:1: error: Function is missing a return type annotation  [no-untyped-def]

Check failure on line 188 in varats-core/varats/report/tef_report.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats-core/varats/report/tef_report.py#L188

note: Use "-> None" if function does not return a value
Raw output
varats-core/varats/report/tef_report.py:188:1: note: Use "-> None" if function does not return a value

Check failure on line 58 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L58

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:58:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 100 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L100

error: Argument 2 to "__init__" of "MultiPatchReport" has incompatible type "type[PerfInfluenceTraceReportAggregate]"; expected "type[TEFReportAggregate]"  [arg-type]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:100:32: error: Argument 2 to "__init__" of "MultiPatchReport" has incompatible type "type[PerfInfluenceTraceReportAggregate]"; expected "type[TEFReportAggregate]"  [arg-type]

Check failure on line 111 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L111

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:111:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 170 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L170

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:170:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 281 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L281

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:281:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 372 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L372

error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:372:22: error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]

Check failure on line 424 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L424

error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:424:28: error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]

Check failure on line 545 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L545

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:545:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 665 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L665

error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:665:32: error: Call to untyped function "RevertPatch" in typed context  [no-untyped-call]

Check failure on line 700 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L700

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:700:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 765 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L765

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:765:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 851 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L851

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:851:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 923 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L923

error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:923:22: error: Non-overlapping identity check (left operand type: "str", right operand type: "Literal[ProjectDomains.TEST]")  [comparison-overlap]

Check failure on line 1073 in varats/varats/experiments/vara/feature_perf_precision.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/experiments/vara/feature_perf_precision.py#L1073

error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
Raw output
varats/varats/experiments/vara/feature_perf_precision.py:1073:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]

Check failure on line 10 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L10

error: Skipping analyzing "cliffs_delta": module is installed, but missing library stubs or py.typed marker  [import]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:10:1: error: Skipping analyzing "cliffs_delta": module is installed, but missing library stubs or py.typed marker  [import]

Check failure on line 10 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L10

note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:10:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Check failure on line 59 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L59

error: Function is missing a return type annotation  [no-untyped-def]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:59:5: error: Function is missing a return type annotation  [no-untyped-def]

Check failure on line 152 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L152

error: Statement is unreachable  [unreachable]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:152:13: error: Statement is unreachable  [unreachable]

Check failure on line 184 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L184

error: Statement is unreachable  [unreachable]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:184:13: error: Statement is unreachable  [unreachable]

Check failure on line 215 in varats/varats/data/databases/feature_perf_precision_database.py

See this annotation in the file changed.

@github-actions github-actions / mypy

[mypy] varats/varats/data/databases/feature_perf_precision_database.py#L215

error: Returning Any from function declared to return "bool"  [no-any-return]
Raw output
varats/varats/data/databases/feature_perf_precision_database.py:215:5: error: Returning Any from function declared to return "bool"  [no-any-return]