kaxil commented on code in PR #53506:
URL: https://github.com/apache/airflow/pull/53506#discussion_r2221965863
##########
setup_idea.py:
##########
@@ -95,13 +95,18 @@
MODULES_XML_FILE = IDEA_FOLDER_PATH / "modules.xml"
ROOT_PROVIDERS_FOLDER_PATH = ROOT_AIRFLOW_FOLDER_PATH / "providers"
+ROOT_SHARED_PATH = ROOT_AIRFLOW_FOLDER_PATH / "shared"
def setup_idea():
# Providers discovery
for pyproject_toml_file in
ROOT_PROVIDERS_FOLDER_PATH.rglob("pyproject.toml"):
relative_path =
pyproject_toml_file.relative_to(ROOT_AIRFLOW_FOLDER_PATH).parent.as_posix()
source_root_modules.append(f"{relative_path}")
+ # Shared discovery
+ for pyproject_toml_file in ROOT_SHARED_PATH.rglob("pyproject.toml"):
+ relative_path =
pyproject_toml_file.relative_to(ROOT_AIRFLOW_FOLDER_PATH).parent.as_posix()
+ source_root_modules.append(f"{relative_path}")
Review Comment:
Nice! 🎉
--
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]