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 @@ -269,6 +269,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: doc8
name: doc8
entry: uv run --extra=dev -m doc8
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,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",
"pydocstyle==6.3",
Expand Down Expand Up @@ -151,6 +152,7 @@ lint.per-file-ignores."tests/*.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 @@ -438,3 +440,7 @@ ignore_path = [
[tool.yamlfix]
section_whitelines = 1
whitelines = 1

[tool.no_defaults]
private_only = true
per_file_enforcement."tests/**" = "all"
Loading