meel-ayush commented on code in PR #77119:
URL: https://github.com/apache/airflow/pull/77119#discussion_r4581978932
##########
dev/breeze/src/airflow_breeze/utils/selective_checks.py:
##########
@@ -2726,6 +2733,27 @@ def _is_self_hosted_label_approved(self) -> bool:
def has_migrations(self) -> bool:
return any([file.startswith("airflow-core/src/airflow/migrations/")
for file in self._files])
+ @cached_property
+ def has_added_or_renamed_files(self) -> bool:
+ if self._commit_ref is None:
+ return True
+ from airflow_breeze.utils.run_utils import run_command
Review Comment:
Dropped local import and simplified.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]