From eb1ebf617da9d89d2f1041b1dc470b49bce57683 Mon Sep 17 00:00:00 2001 From: copilotcoder Date: Fri, 5 Jun 2026 14:12:09 -0400 Subject: [PATCH] More CICD fixes again again again again again again again again again again again Signed-off-by: copilotcoder --- .darglint | 6 ------ .gitea/workflows/cicd-checks.yaml | 4 ++-- Dockerfile.cicd | 2 +- README.md | 2 +- docs/DEVELOPMENT.md | 2 +- 5 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 .darglint diff --git a/.darglint b/.darglint deleted file mode 100644 index 1bf6baa..0000000 --- a/.darglint +++ /dev/null @@ -1,6 +0,0 @@ -[darglint] -docstring_style = google -strictness = short -ignore_regex = ^_ -# Ignore type-related errors since we use type hints in function signatures -ignore = DAR101,DAR102,DAR103,DAR201,DAR202,DAR203,DAR301,DAR302,DAR401,DAR402 diff --git a/.gitea/workflows/cicd-checks.yaml b/.gitea/workflows/cicd-checks.yaml index 089accb..fc1be3d 100644 --- a/.gitea/workflows/cicd-checks.yaml +++ b/.gitea/workflows/cicd-checks.yaml @@ -76,8 +76,8 @@ jobs: hook: ruff-format - name: Pyright Type Check hook: pyright - - name: Darglint Docstring Check - hook: darglint + - name: Pydoclint Docstring Check + hook: pydoclint - name: No Docstring Types Check hook: no-docstring-types - name: ESLint Check diff --git a/Dockerfile.cicd b/Dockerfile.cicd index d708abf..a350fe4 100644 --- a/Dockerfile.cicd +++ b/Dockerfile.cicd @@ -219,7 +219,7 @@ RUN cd /workspace/backend && \ echo "=== Backend Tools Verification ===" && \ uv run ruff --version && \ uv run pyright --version && \ - uv run darglint --version && \ + uv run pydoclint --version && \ uv run pytest --version && \ uv run yamllint --version && \ uv run toml-sort --version && \ diff --git a/README.md b/README.md index 1b1699e..7f05b6c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This project uses comprehensive linting and formatting: **Backend (Python):** - `ruff` - Fast Python linter and formatter - `pyright` - Type checking -- `darglint` - Docstring linting (Google style) +- `pydoclint` - Docstring linting (Google style) **Frontend (TypeScript/Vue):** - `eslint` - Linting with Vue and TypeScript support diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 9673706..d651744 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -254,7 +254,7 @@ uv run xdoctest src/ #### Documentation ```bash # Check docstring style -uv run darglint src/ +uv run pydoclint --config=pyproject.toml src/ ``` ### Frontend Tools (TypeScript/Vue)