diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3a490e06b..771aa13d00 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -168,7 +168,7 @@ repos: types: [yaml] exclude: ^.*init_git_sync\.template\.yaml$|^.*airflow\.template\.yaml$|^chart/templates/.*\.yaml$ - repo: https://github.com/timothycrosley/isort - rev: 5.0.6 + rev: 5.0.8 hooks: - id: isort name: Run isort to sort imports diff --git a/airflow/settings.py b/airflow/settings.py index 0798ec0d03..cb4ac4549a 100644 --- a/airflow/settings.py +++ b/airflow/settings.py @@ -31,11 +31,10 @@ from sqlalchemy.pool import NullPool # noinspection PyUnresolvedReferences from airflow import api -from airflow.logging_config import configure_logging -from airflow.utils.orm_event_handlers import setup_event_handlers - # pylint: disable=unused-import from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf # NOQA F401 +from airflow.logging_config import configure_logging +from airflow.utils.orm_event_handlers import setup_event_handlers log = logging.getLogger(__name__)