Skip to content

Commit 24c8e7c

Browse files
committed
Repair exclude filter for openlineage
1 parent e4c18e2 commit 24c8e7c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

airflow-core/.pre-commit-config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ repos:
4444
language: python
4545
files: ^src/airflow/.*\.py$
4646
require_serial: true
47-
exclude: >
48-
(?x)
49-
^src/airflow/openlineage/|
47+
exclude: ^src/airflow/openlineage/.*
5048
entry: ../scripts/ci/prek/check_airflow_imports.py
5149
--pattern '^openlineage\.client\.(facet|run)'
5250
--message "You should import from `airflow.providers.common.compat.openlineage.facet` instead."

0 commit comments

Comments
 (0)