diff --git a/Makefile b/Makefile index f9c4912..2638349 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ default: install install: uv sync --all-extras --all-groups --frozen uv tool install pre-commit --with pre-commit-uv --force-reinstall + uv run pre-commit install install-docs: uv sync --group docs --frozen --no-group dev diff --git a/pyproject.toml b/pyproject.toml index ce912e7..8e6dbca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,12 +64,12 @@ line-length = 120 include = ["pyproject.toml", "tests/**", ] [tool.ruff.lint] -select = ["F", "B", "I", "F", "W", "E", "A", "N", "D"] +select = ["F", "B", "I", "F", "W", "E", "A", "N", "D","DOC"] fixable = ["ALL"] [tool.ruff.lint.per-file-ignores] -"tests/*" = ["D"] -"docs/*" = ["D"] +"tests/*" = ["D", "DOC"] +"docs/*" = ["D", "DOC"] [tool.ruff.lint.isort] combine-as-imports = true [tool.mypy]