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


##########
scripts/ci/prek/check_provider_yaml_files.py:
##########
@@ -59,7 +63,10 @@ def _resolve_provider_yaml_files(raw_files: list[str]) -> 
list[str]:
             # e.g. samba/src/airflow/providers/samba/hooks/samba.py
             parts = p.parts
             if parts:
-                result.add(f"{parts[0]}/provider.yaml")
+                if parts[0] in KNOWN_SECOND_LEVEL_PATHS and len(parts) > 1:

Review Comment:
   will take a deeper look. since this one is blocking the CI, I'll merge it 
for now and work on that as a follow up. Thanks



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