Lee-W commented on code in PR #50934:
URL: https://github.com/apache/airflow/pull/50934#discussion_r2101779092


##########
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:
   I considered this, but later decided to proceed this way 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.



-- 
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]

Reply via email to