This is an automated email from the ASF dual-hosted git repository.
hussein-awala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new ec9d0df48c9 Remove unused selective checks exclusion helper (#75855)
ec9d0df48c9 is described below
commit ec9d0df48c93e5397f056f571eda4767237552b2
Author: Hussein Awala <[email protected]>
AuthorDate: Wed Oct 28 14:25:14 2026 +0100
Remove unused selective checks exclusion helper (#75855)
---
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 8dfc0f2b8ab..614cc2672f8 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -698,13 +698,6 @@ def _match_files_with_regexps(files: tuple[str, ...],
matched_files, matching_re
matched_files.append(file)
-def _exclude_files_with_regexps(files: tuple[str, ...], matched_files,
exclude_regexps):
- for file in files:
- if any(re.match(regexp, file) for regexp in exclude_regexps):
- if file in matched_files:
- matched_files.remove(file)
-
-
@clearable_cache
def _matching_files(
files: tuple[str, ...], match_group: FileGroupForCi | SelectiveTestType,
match_dict: HashableDict