From c62b168b25f4fe7af932533a9f1fd1b3ac774df1 Mon Sep 17 00:00:00 2001 From: emil Date: Mon, 6 Jul 2026 15:51:10 +0200 Subject: [PATCH] DEVX-116: chore: update grm package name references Update hardcoded path and docstring examples from `gitea_runner_manager` to `grm` after the package rename in grm PR #203. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- src/devx/ci/check_translations.py | 1 + src/devx/tools/generate_badges.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/devx/ci/check_translations.py b/src/devx/ci/check_translations.py index 819d371..f15c87c 100644 --- a/src/devx/ci/check_translations.py +++ b/src/devx/ci/check_translations.py @@ -185,6 +185,7 @@ def main(translations: tuple[Path, ...], source_dir: str | None) -> None: # Try common locations candidates = [ root / "src" / "devx" / "translations.json", + root / "src" / "grm" / "translations.json", ] # Also search for any translations.json in src/ for match in root.glob("src/*/translations.json"): diff --git a/src/devx/tools/generate_badges.py b/src/devx/tools/generate_badges.py index 550a001..358280a 100644 --- a/src/devx/tools/generate_badges.py +++ b/src/devx/tools/generate_badges.py @@ -68,8 +68,8 @@ def detect_package_name(repo_root: Path) -> str | None: Looks for the first subdirectory under ``src/`` that contains an ``__init__.py`` file with ``__version__``. - Returns the package directory name (e.g., ``devx``) or ``None`` if - no package is found. + Returns the package directory name (e.g., ``devx``, + ``grm``) or ``None`` if no package is found. """ src_dir = repo_root / "src" if not src_dir.is_dir():