Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,16 @@ repos:
stages: [pre-commit]
require_serial: true

- id: no-defaults
name: no-defaults
entry: uv run --extra=dev no-defaults
language: python
types_or: [python]
additional_dependencies:
- *uv_version
stages: [pre-commit]
require_serial: true

- id: interrogate-docs
name: interrogate docs
entry: uv run --extra=dev doccmd --no-write-to-file --example-workers 0 --language=python
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ optional-dependencies.dev = [
"interrogate==1.7.0",
"mypy[faster-cache]==2.3.0",
"mypy-strict-kwargs==2026.7.19.1",
"no-defaults==1.0.1",
"prek==0.4.11",
"pydocstringformatter==1.0.0",
"pylint[spelling]==4.0.6",
Expand Down Expand Up @@ -171,6 +172,7 @@ lint.per-file-ignores."tests/test_*.py" = [
lint.unfixable = [
"ERA001",
]
lint.external = [ "NOD" ]
lint.flake8-tidy-imports.banned-api."typing.cast".msg = "typing.cast is banned: use explicit type narrowing or a typed variable instead."
lint.pydocstyle.convention = "google"

Expand Down Expand Up @@ -461,3 +463,7 @@ ignore_path = [
[tool.yamlfix]
section_whitelines = 1
whitelines = 1

[tool.no_defaults]
private_only = true
per_file_enforcement."tests/**" = "all"
13 changes: 13 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading