bhirsz commented on code in PR #23848:
URL: https://github.com/apache/airflow/pull/23848#discussion_r887621736


##########
docs/exts/docs_build/lint_checks.py:
##########
@@ -268,7 +268,7 @@ def check_enforce_code_block() -> List[DocBuildError]:
 def find_example_dags(provider_dir):
     system_tests_dir = provider_dir.replace(f"{ROOT_PACKAGE_DIR}/", "")
     yield from glob(f"{provider_dir}/**/*example_dags", recursive=True)
-    yield from glob(f"{ROOT_PROJECT_DIR}/tests/system/{system_tests_dir}/*/", 
recursive=True)
+    yield from 
glob(f"{ROOT_PROJECT_DIR}/tests/system/{system_tests_dir}/**/example_dags", 
recursive=True)

Review Comment:
   After some debugging I see that this lint check is not entirely correct 
(that's why it could fail for you as well). The path to the examples dags in 
the new design should be:
   ```
   yield from glob(f"{ROOT_PROJECT_DIR}/tests/system/{system_tests_dir}**/*", 
recursive=True)
   ```
   



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