chore: set up Python project skeleton with CI checks
CI / checks (pull_request) Successful in 48s

pyright skips .claude/scripts (it always adds its dot-directory exclude); ruff still checks it. The Stop hook now also runs ruff format --check, matching CI.
This commit is contained in:
kasun committed 2026-11-15 15:23:57 +01:00
1 parent 888a52b251
commit e91d05497d
7 files changed
+301

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
[project]
name = "deverenz"
version = "0.1.0"
description = "Project management measures for pull requests, powered by any OpenAI-compatible LLM"
requires-python = ">=3.12"
dependencies = []
[build-system]
requires = ["uv_build>=0.13.7,<0.14.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 120
[tool.ruff.format]
exclude = ["*.md"] # code blocks in docs are aligned by hand for reading
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "ASYNC"]
[tool.pyright]
# .claude/scripts is not listed: pyright 1.1.414 adds its default "**/.*" exclude even when
# `exclude` is set, so dot directories are skipped from the config file. ruff still checks it.
include = ["src", "tests"]
typeCheckingMode = "strict"
pythonVersion = "3.12"
venvPath = "."
venv = ".venv"
[dependency-groups]
dev = [
"pyright>=1.1.414",
"pytest>=9.2.0",
"respx>=0.23.1",
"ruff>=0.17.5",
]