You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/03/09 19:02:20 UTC

[airflow] branch v2-5-test updated (d9939499f8 -> 1571fca92c)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a change to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


    from d9939499f8 Fix bugs introduced when moving the code of issue generation to breeze (#28683)
     add b50028c272 Switch to ruff for faster static checks (#28893)
     add 1571fca92c Pin ruff to specific version and prevent from "fixing" cli conftest (#29040)

No new revisions were added by this update.

Summary of changes:
 .flake8                                            |   8 --
 .github/boring-cyborg.yml                          |   1 -
 .github/workflows/ci.yml                           |   1 +
 .pre-commit-config.yaml                            |  67 +++----------
 .rat-excludes                                      |   1 -
 STATIC_CODE_CHECKS.rst                             |  12 +--
 airflow/cli/commands/connection_command.py         |   2 +-
 airflow/compat/functools.pyi                       |   1 +
 airflow/decorators/__init__.pyi                    |  13 ++-
 airflow/example_dags/example_sensor_decorator.py   |   1 +
 airflow/example_dags/tutorial_taskflow_api.py      |   1 +
 airflow/hooks/dbapi.py                             |   6 +-
 airflow/migrations/db_types.pyi                    |   1 +
 airflow/providers/amazon/aws/hooks/emr.py          |  10 +-
 airflow/providers/amazon/aws/operators/sns.py      |   2 +-
 .../amazon/aws/transfers/dynamodb_to_s3.py         |   4 +-
 .../providers/cncf/kubernetes/utils/__init__.py    |   2 +
 .../providers/google/cloud/operators/dataproc.py   |   2 +-
 .../google/cloud/operators/kubernetes_engine.py    |   2 +-
 airflow/providers/microsoft/azure/hooks/wasb.py    |   2 +-
 airflow/providers/odbc/hooks/odbc.py               |   2 +-
 airflow/utils/context.pyi                          |   5 +-
 airflow/utils/log/action_logger.py                 |   1 +
 airflow/utils/process_utils.py                     |   4 +-
 .../src/airflow_breeze/commands/main_command.py    |   4 +-
 dev/breeze/src/airflow_breeze/global_constants.py  |   9 +-
 dev/breeze/src/airflow_breeze/pre_commit_ids.py    |   8 +-
 .../pre_commit_ids_TEMPLATE.py.jinja2              |   1 +
 docs/apache-airflow/img/airflow_erd.sha256         |   2 +-
 docs/build_docs.py                                 |   6 +-
 docs/exts/provider_init_hack.py                    |   4 +-
 docs/spelling_wordlist.txt                         |   1 +
 images/breeze/output-commands-hash.txt             |   2 +-
 images/breeze/output_static-checks.svg             |  56 +++++------
 images/breeze/output_stop.svg                      |  24 ++---
 provider_packages/.flake8                          |   1 -
 pyproject.toml                                     | 108 ++++++++++++++++++---
 .../pre_commit_check_pre_commit_hooks.py           |  10 +-
 scripts/ci/pre_commit/pre_commit_flake8.py         |  72 --------------
 scripts/in_container/run_flake8.sh                 |  20 ----
 setup.py                                           |   8 +-
 tests/api_connexion/endpoints/test_dag_endpoint.py |  15 ---
 tests/cli/conftest.py                              |   2 +-
 .../providers/google/suite/hooks/test_calendar.py  |   3 +-
 .../cncf/kubernetes/example_spark_kubernetes.py    |   3 +-
 .../google/cloud/bigtable/example_bigtable.py      |   6 +-
 tests/test_utils/get_all_tests.py                  |   4 +-
 47 files changed, 218 insertions(+), 302 deletions(-)
 delete mode 100644 .flake8
 delete mode 120000 provider_packages/.flake8
 delete mode 100755 scripts/ci/pre_commit/pre_commit_flake8.py
 delete mode 100755 scripts/in_container/run_flake8.sh