Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ repos:
^airflow-ctl.*\.py$|
^airflow-core/src/airflow/models/.*\.py$|
^airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_assets.py$|
^airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_hitl.py$|
^providers/openlineage/.*\.py$|
^task_sdk.*\.py$
pass_filenames: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import pytest
import time_machine
from sqlalchemy import select
from sqlalchemy import delete, select
from sqlalchemy.orm import Session

from airflow._shared.timezones.timezone import utc, utcnow
Expand Down Expand Up @@ -275,7 +275,7 @@ def expected_sample_hitl_detail_dict(sample_ti: TaskInstance) -> dict[str, Any]:

@pytest.fixture(autouse=True)
def cleanup_audit_log(session: Session) -> None:
session.query(Log).delete()
session.execute(delete(Log))
session.commit()


Expand Down
Loading