@@ -165,55 +165,6 @@ CPY = "CPY"
165165# only check file name for notebooks. Use nbaq for contents.
166166check-file = false
167167
168- # * Testing --------------------------------------------------------------------
169- [tool .pytest .ini_options ]
170- addopts = [
171- " --cov-config=pyproject.toml" ,
172- " --doctest-glob=*.md" ,
173- " --doctest-modules" ,
174- " --pyargs" ,
175- " --strict-config" ,
176- " --strict-markers" ,
177- " -ra" ,
178- ]
179- testpaths = [
180- " README.md" ,
181- " pyproject2conda" ,
182- " tests" ,
183- ]
184- # options
185- filterwarnings = [ " error" ]
186- log_cli_level = " INFO"
187- log_level = " INFO"
188- minversion = " 8"
189- strict_xfail = " true"
190-
191- [tool .coverage ]
192- run.branch = true
193- run.source = [
194- " pyproject2conda" ,
195- ]
196- paths.source = [
197- " src/" ,
198- # needed for testing source if not editable install
199- " .nox/**/site-packages/" ,
200- " */.nox/**/site-packages" ,
201- " */src" ,
202- ]
203- report.exclude_also = [
204- " @overload" ,
205- " if TYPE_CHECKING:" ,
206- ]
207- report.include = [
208- " src/*" ,
209- ]
210- report.omit = [
211- " */__main__.py" ,
212- " */_typing.py" ,
213- " */vendored/*" ,
214- ]
215- report.show_missing = true
216-
217168# * typecheck ---------------------------------------------------------------------
218169[tool .mypy ]
219170exclude = [
@@ -302,6 +253,55 @@ reportUnusedCallResult = false
302253analysis.respect-type-ignore-comments = false
303254src.include = [ " src" , " tests" ]
304255
256+ # * Testing --------------------------------------------------------------------
257+ [tool .pytest .ini_options ]
258+ addopts = [
259+ " --cov-config=pyproject.toml" ,
260+ " --doctest-glob=*.md" ,
261+ " --doctest-modules" ,
262+ " --pyargs" ,
263+ " --strict-config" ,
264+ " --strict-markers" ,
265+ " -ra" ,
266+ ]
267+ testpaths = [
268+ " README.md" ,
269+ " pyproject2conda" ,
270+ " tests" ,
271+ ]
272+ # options
273+ filterwarnings = [ " error" ]
274+ log_cli_level = " INFO"
275+ log_level = " INFO"
276+ minversion = " 8"
277+ strict_xfail = " true"
278+
279+ [tool .coverage ]
280+ run.branch = true
281+ run.source = [
282+ " pyproject2conda" ,
283+ ]
284+ paths.source = [
285+ " src/" ,
286+ # needed for testing source if not editable install
287+ " .nox/**/site-packages/" ,
288+ " */.nox/**/site-packages" ,
289+ " */src" ,
290+ ]
291+ report.exclude_also = [
292+ " @overload" ,
293+ " if TYPE_CHECKING:" ,
294+ ]
295+ report.include = [
296+ " src/*" ,
297+ ]
298+ report.omit = [
299+ " */__main__.py" ,
300+ " */_typing.py" ,
301+ " */vendored/*" ,
302+ ]
303+ report.show_missing = true
304+
305305[tool .pytype ]
306306inputs = [
307307 " src" ,
0 commit comments