@@ -76,28 +76,55 @@ docs = [
7676]
7777
7878[tool .hatch ]
79+ version.path = " pyglotaran_extras/__init__.py"
7980build.targets.sdist.include = [
80- " /pyglotaran_extras" ,
8181 " /docs" ,
82+ " /pyglotaran_extras" ,
8283 " /tests" ,
8384 " changelog.md" ,
8485]
85- version.path = " pyglotaran_extras/__init__.py"
8686
8787[tool .docformatter ]
8888black = true
8989wrap-summaries = 99
9090wrap-descriptions = 99
9191
9292# For now this is not used because pydoclint does not support toml when used with flake8
93-
9493[tool .pydoclint ]
9594skip-checking-short-docstrings = false
9695style = " numpy"
9796exclude = " ^(docs/|tests?/)"
9897require-return-section-when-returning-none = false
9998allow-init-docstring = true
10099
100+ [tool .interrogate ]
101+ fail-under = 100
102+ ignore-init-module = true
103+ exclude = [
104+ " docs" ,
105+ " tests/*" ,
106+ ]
107+
108+ [tool .mypy ]
109+ ignore_missing_imports = true
110+ python_version = " 3.10"
111+ disallow_untyped_calls = true
112+ disallow_untyped_defs = true
113+ disallow_incomplete_defs = true
114+ check_untyped_defs = true
115+ warn_unused_ignores = true
116+ plugins = [
117+ " pydantic.mypy" ,
118+ ]
119+ scripts_are_modules = true
120+ warn_unused_configs = true
121+ overrides = [
122+ { module = " tests.*" , disallow_untyped_defs = false , disallow_incomplete_defs = false },
123+ ]
124+ no_implicit_optional = true
125+ no_implicit_reexport = true
126+ show_error_codes = true
127+
101128[tool .coverage ]
102129run.branch = true
103130run.omit = [
@@ -123,31 +150,3 @@ report.exclude_lines = [
123150 " raise AssertionError" ,
124151 " raise NotImplementedError" ,
125152]
126-
127- [tool .mypy ]
128- plugins = [
129- " pydantic.mypy" ,
130- ]
131- python_version = " 3.10"
132- ignore_missing_imports = true
133- scripts_are_modules = true
134- show_error_codes = true
135- warn_unused_ignores = true
136- no_implicit_optional = true
137- disallow_incomplete_defs = true
138- disallow_untyped_defs = true
139- disallow_untyped_calls = true
140- no_implicit_reexport = true
141- warn_unused_configs = true
142- check_untyped_defs = true
143- overrides = [
144- { module = " tests.*" , disallow_incomplete_defs = false , disallow_untyped_defs = false },
145- ]
146-
147- [tool .interrogate ]
148- exclude = [
149- " docs" ,
150- " tests/*" ,
151- ]
152- ignore-init-module = true
153- fail-under = 100
0 commit comments