jason810496 commented on code in PR #50934:
URL: https://github.com/apache/airflow/pull/50934#discussion_r2101791960
##########
scripts/ci/pre_commit/check_deferrable_default.py:
##########
@@ -106,8 +106,8 @@ def _fix_invalid_deferrable_default_value(module_filename:
str) -> None:
def main() -> int:
modules = itertools.chain(
- glob.glob(f"{ROOT_DIR}/airflow/**/sensors/**.py", recursive=True),
- glob.glob(f"{ROOT_DIR}/airflow/**/operators/**.py", recursive=True),
+ glob.glob(f"{ROOT_DIR}/**/sensors/**.py", recursive=True),
+ glob.glob(f"{ROOT_DIR}/**/operators/**.py", recursive=True),
Review Comment:
> because the cost of this search is not very high. It could help us avoid
overlooking it if we face another reorganization in the future.
Agree, thanks for clarifying.
--
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]