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


##########
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:
   I see that you have moved example_slack.py to :
   
![image](https://user-images.githubusercontent.com/8532066/171565933-5da64718-3b09-4d1c-ae58-6e179830e92c.png)
   
   It shouldn't be inside example_dags directory - it can either directly under 
slack/ or under another directory that groups several examples into one. If 
some checks are failing and it's related to that - let me know so we can fix 
the check to match different kind of paths (but it shouldn't - take a look to 
``elasticsearch`` system tests which have similar structure).



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