File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -289,6 +289,15 @@ repos:
289289 - *uv_version
290290 require_serial : true
291291
292+ - id : no-defaults
293+ name : no-defaults
294+ entry : uv run --extra=dev no-defaults
295+ language : python
296+ types_or : [python]
297+ additional_dependencies :
298+ - *uv_version
299+ require_serial : true
300+
292301 - id : doc8
293302 name : doc8
294303 entry : uv run --extra=dev -m doc8
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ optional-dependencies.dev = [
4343 " doccmd==2026.7.19" ,
4444 " interrogate==1.7.0" ,
4545 " mypy[faster-cache]==2.3.0" ,
46+ " no-defaults==1.0.1" ,
4647 " prek==0.4.11" ,
4748 " pydocstringformatter==1.0.0" ,
4849 " pylint[spelling]==4.0.6" ,
@@ -128,6 +129,7 @@ lint.per-file-ignores."tests/*" = [
128129lint.unfixable = [
129130 " ERA001" ,
130131]
132+ lint.external = [ " NOD" ]
131133lint.flake8-tidy-imports.banned-api."typing.cast".msg = " typing.cast is banned: use explicit type narrowing or a typed variable instead."
132134lint.pydocstyle.convention = " google"
133135
@@ -395,3 +397,7 @@ ignore_path = [
395397[tool .yamlfix ]
396398section_whitelines = 1
397399whitelines = 1
400+
401+ [tool .no_defaults ]
402+ private_only = true
403+ per_file_enforcement."tests/**" = " all"
You can’t perform that action at this time.
0 commit comments