The GitHub Actions job "Tests" on airflow.git/add-prek-hook-for-airflow-imports-in-shared has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 8de0d2a1800ea7d0ed6cff1e3b43af176314d1b5 / Jarek Potiuk <[email protected]> Improve prek hook to check for proper imports in shared distributions Since we are quite close to having a completed separation between distributions, this PR will be rebased until we will fix all the issues - we might want to extract things from this PR as we rebase it and move the code between distributions. The following checks were added: * The shared distributions (neither in src nor tests) should never import `from airflow.` * The distributions that are using shared code "airlfow-core", "task-sdk" should never import anything from either "airflow_shared" or from "_shared" import coming from another distribution. * Neither "apache-airflow", "apache-airflow-task-sdk", "apache-airflow-core" should be added as dependency in a shared distribution. Report URL: https://github.com/apache/airflow/actions/runs/19784788628 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
