amoghrajesh commented on code in PR #70224:
URL: https://github.com/apache/airflow/pull/70224#discussion_r3629319567
##########
scripts/ci/prek/check_provider_yaml_files.py:
##########
@@ -46,7 +47,10 @@ def _resolve_provider_yaml_files(raw_files: list[str]) ->
list[str]:
All paths are relative to the ``providers/`` directory, as supplied by
prek. The first path segment is the provider package name
- (e.g. ``samba/src/airflow/...`` → ``samba/provider.yaml``).
+ (e.g. ``samba/src/airflow/...`` → ``samba/provider.yaml``), except for
+ namespace packages in ``KNOWN_SECOND_LEVEL_PATHS`` (e.g. ``apache``,
+ ``common``), which nest an extra level (e.g.
+ ``apache/beam/src/airflow/...`` → ``apache/beam/provider.yaml``).
Review Comment:
```suggestion
``apache/beam/src/airflow/...`` -> ``apache/beam/provider.yaml``).
```
--
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]