MCPcopy
hub / github.com/reflex-dev/reflex / _workspace_pyprojects

Function _workspace_pyprojects

scripts/check_min_deps.py:184–193  ·  view source on GitHub ↗

Yield every workspace package's directory name paired with its ``pyproject.toml``. Yields: ``(directory_name, pyproject_path)`` for the root package (named ``"reflex"``) and each ``packages/*`` member. The directory name is the publish/CLI identifier.

()

Source from the content-addressed store, hash-verified

182
183
184def _workspace_pyprojects() -> Iterator[tuple[str, Path]]:
185 """Yield every workspace package's directory name paired with its ``pyproject.toml``.
186
187 Yields:
188 ``(directory_name, pyproject_path)`` for the root package (named ``"reflex"``) and
189 each ``packages/*`` member. The directory name is the publish/CLI identifier.
190 """
191 yield "reflex", REPO_ROOT / "pyproject.toml"
192 for project_file in sorted((REPO_ROOT / "packages").glob("*/pyproject.toml")):
193 yield project_file.parent.name, project_file
194
195
196def _workspace_package_dirs() -> dict[str, Path]:

Callers 2

_workspace_package_dirsFunction · 0.85
check_dev_pinsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected