The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: d8d24005b8d2c74139dda80ebcaa844aba828e40 / Jarek Potiuk <[email protected]> Improve generation of common.sql stubs There were couple of "teething" problems with generated stubs in the common.sql package: * formatting of the black for ... methods was slightly different when running via black pre-commit vs. built-in black formatting (hard to say why) * EOL at the end of generated file was missing, leading to EOL fixer adding them after generation leading to multiple pre-commit passes * Union was missing in the generated stubs (this is a known issue with stubgen: https://github.com/python/mypy/issues/12929 * Intellij complained on Incomplete import from _typeshed missing This PR fixes all the problems: disables external black for the generated files, adds EOL and improves post-processing of the generated stub files to add missing Union and noqa for _typeshed import. As the end result, generated stub files are fully importable (no errors reported by IntelliJ IDE) and stable for regeneration. Report URL: https://github.com/apache/airflow/actions/runs/3974160410 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
