github-actions[bot] opened a new pull request, #65045: URL: https://github.com/apache/airflow/pull/65045
* Sync default image Python version references * Fix mypy type error in _read_global_constants_assignment return type Since ast.literal_eval() returns Any, annotating the private helper as returning str | list[str] caused mypy errors in both callers: assigning the result to `list[str]` and returning it as `str`. Changing the return type to Any (which matches ast.literal_eval) resolves both without requiring casts. * Update scripts/ci/prek/common_prek_utils.py Co-authored-by: Copilot <[email protected]> --------- (cherry picked from commit d212f624cf46f0adf17369c8e2299e4aae992d5e) Co-authored-by: DaveT1991 <[email protected]> Co-authored-by: Copilot <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
