diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c745c67d86..1c5a4d886a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -142,7 +142,7 @@ exclude: "dev/dags/dbt/simple/dbt_packages/.*" ci: autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks - autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate + autoupdate_schedule: quarterly skip: - mypy # build of https://github.com/pre-commit/mirrors-mypy:types-PyYAML,types-attrs,attrs,types-requests, #types-python-dateutil,apache-airflow@v1.5.0 for python@python3 exceeds tier max size 250MiB: 262.6MiB diff --git a/tests/test_log.py b/tests/test_log.py index 2484fcb181..275dbd0c86 100644 --- a/tests/test_log.py +++ b/tests/test_log.py @@ -42,7 +42,7 @@ def test_rich_logging(monkeypatch, caplog): def test_rich_logging_none_message(monkeypatch, caplog): """CosmosRichLogger should not crash when record.msg is None.""" - monkeypatch.setattr(cosmos.log, "rich_logging", True) + monkeypatch.setattr("cosmos.settings.rich_logging", True) logger = get_logger("test-none-msg") with caplog.at_level("INFO"): logger.info(None)