Adding some stuff for the new structure to work with my system.
Some checks failed
Tests / Build and Push CICD Base Image (push) Failing after 37m18s
Tests / Build and Push CICD Complete Image (push) Has been cancelled
Tests / Trailing Whitespace Check (push) Has been cancelled
Tests / End of File Check (push) Has been cancelled
Tests / YAML Syntax Check (push) Has been cancelled
Tests / TOML Syntax Check (push) Has been cancelled
Tests / Mixed Line Ending Check (push) Has been cancelled
Tests / TOML Formatting Check (push) Has been cancelled
Tests / Ruff Linting (push) Has been cancelled
Tests / Ruff Format Check (push) Has been cancelled
Tests / Pyright Type Check (push) Has been cancelled
Tests / Darglint Docstring Check (push) Has been cancelled
Tests / No Docstring Types Check (push) Has been cancelled
Tests / ESLint Check (push) Has been cancelled
Tests / Prettier Format Check (push) Has been cancelled
Tests / TypeScript Type Check (push) Has been cancelled
Tests / TSDoc Lint Check (push) Has been cancelled
Tests / Backend Tests (push) Has been cancelled
Tests / Frontend Tests (push) Has been cancelled
Tests / Backend Doctests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / End-to-End Tests (push) Has been cancelled
Renovate Dependency Updates / Renovate Dependencies (push) Failing after 16m22s
Some checks failed
Tests / Build and Push CICD Base Image (push) Failing after 37m18s
Tests / Build and Push CICD Complete Image (push) Has been cancelled
Tests / Trailing Whitespace Check (push) Has been cancelled
Tests / End of File Check (push) Has been cancelled
Tests / YAML Syntax Check (push) Has been cancelled
Tests / TOML Syntax Check (push) Has been cancelled
Tests / Mixed Line Ending Check (push) Has been cancelled
Tests / TOML Formatting Check (push) Has been cancelled
Tests / Ruff Linting (push) Has been cancelled
Tests / Ruff Format Check (push) Has been cancelled
Tests / Pyright Type Check (push) Has been cancelled
Tests / Darglint Docstring Check (push) Has been cancelled
Tests / No Docstring Types Check (push) Has been cancelled
Tests / ESLint Check (push) Has been cancelled
Tests / Prettier Format Check (push) Has been cancelled
Tests / TypeScript Type Check (push) Has been cancelled
Tests / TSDoc Lint Check (push) Has been cancelled
Tests / Backend Tests (push) Has been cancelled
Tests / Frontend Tests (push) Has been cancelled
Tests / Backend Doctests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / End-to-End Tests (push) Has been cancelled
Renovate Dependency Updates / Renovate Dependencies (push) Failing after 16m22s
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -6,7 +6,7 @@ requires = ["hatchling"]
|
||||
dev = [
|
||||
"ruff>=0.6.0",
|
||||
"pyright>=1.1.380",
|
||||
"darglint>=1.8.1",
|
||||
"pydoclint>=0.3.8",
|
||||
"pytest>=7.4.0",
|
||||
"pytest-asyncio>=0.21.0",
|
||||
"pytest-cov>=4.1.0",
|
||||
@@ -66,11 +66,6 @@ omit = [
|
||||
]
|
||||
source = ["src"]
|
||||
|
||||
# Darglint configuration for backend
|
||||
[tool.darglint]
|
||||
docstring_style = "google"
|
||||
strictness = "short"
|
||||
|
||||
[tool.hatch.build]
|
||||
include = [
|
||||
"src/backend/**/*.py",
|
||||
@@ -83,6 +78,8 @@ packages = ["src/backend"]
|
||||
[tool.hatch.version]
|
||||
path = "src/backend/__init__.py"
|
||||
|
||||
[tool.poe]
|
||||
|
||||
[tool.poe.tasks]
|
||||
build-cicd = {shell = "./scripts/build-cicd-local.sh", help = "Build both CI/CD images"}
|
||||
# === Docker CI/CD Image Tasks ===
|
||||
@@ -124,7 +121,7 @@ dev-logs = {shell = "docker compose -f compose.dev.yml logs -f", help = "Follow
|
||||
dev-restart = {shell = "docker compose -f compose.dev.yml restart", help = "Restart development environment"}
|
||||
# === Documentation Tasks ===
|
||||
docs-backend = {shell = "cd backend && uv run xdoctest --module backend", help = "Run backend docstring tests"}
|
||||
docs-check = {shell = "cd backend && uv run darglint backend/", help = "Check docstring quality"}
|
||||
docs-check = {shell = "cd backend && uv run pydoclint --config=pyproject.toml src/", help = "Check docstring quality"}
|
||||
format = ["format-backend", "format-frontend"]
|
||||
# === Code Formatting Tasks ===
|
||||
format-backend = {shell = "cd backend && uv run ruff format .", help = "Format backend Python code"}
|
||||
@@ -185,6 +182,14 @@ type-check-backend = {shell = "cd backend && uv run pyright .", help = "Type che
|
||||
type-check-frontend = {shell = "cd frontend && yarn type-check", help = "Type check frontend TypeScript code"}
|
||||
type-check-parallel = {shell = "poe type-check-backend & poe type-check-frontend & wait", help = "Run type checking in parallel for speed"}
|
||||
|
||||
# Pydoclint configuration for backend
|
||||
[tool.pydoclint]
|
||||
arg-type-hints-in-docstring = false
|
||||
arg-type-hints-in-signature = true
|
||||
check-return-types = false
|
||||
check-yield-types = false
|
||||
style = "google"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = [
|
||||
"--strict-markers",
|
||||
|
||||
Reference in New Issue
Block a user