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.
37 lines
890 B
TOML
37 lines
890 B
TOML
[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",
|
|
]
|