@@ -7,12 +7,11 @@ name = "legacy-api-wrap"
77readme = " README.rst"
88license = " MPL-2.0"
99authors = [ { name = " Philipp A." , email = " flying-sheep@web.de" } ]
10- requires-python = " >=3.9 "
10+ requires-python = " >=3.10 "
1111classifiers = [
1212 " Development Status :: 5 - Production/Stable" ,
1313 " Intended Audience :: Developers" ,
1414 " Programming Language :: Python :: 3 :: Only" ,
15- " Programming Language :: Python :: 3.9" ,
1615 " Programming Language :: Python :: 3.10" ,
1716 " Programming Language :: Python :: 3.11" ,
1817 " Programming Language :: Python :: 3.12" ,
@@ -22,7 +21,7 @@ classifiers = [
2221 " Typing :: Typed" ,
2322]
2423dynamic = [ " description" , " version" ]
25- dependencies = [ ]
24+ dependencies = []
2625optional-dependencies.test = [
2726 " anyconfig[toml]>=0.14" , # coverage-rich uses anyconfig
2827 " coverage" ,
@@ -32,23 +31,18 @@ optional-dependencies.test = [
3231]
3332urls.Source = " https://github.com/flying-sheep/legacy-api-wrap"
3433
35- [tool .hatch .build .targets .wheel ]
36- packages = [ " src/legacy_api_wrap" , " src/testing/legacy_api_wrap" ]
37- [tool .hatch .envs .hatch-test ]
38- default-args = [ ]
39- features = [ " test" ]
40- extra-dependencies = [ " ipython" ]
41- scripts.run = " pytest{env:HATCH_TEST_ARGS:} {args}"
42- scripts.run-cov = " coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
43- scripts.cov-combine = " coverage combine"
44- scripts.cov-report = " coverage-rich report"
45- [[tool .hatch .envs .hatch-test .matrix ]]
46- python = [ " 3.9" , " 3.14" ]
47-
48- [tool .hatch .metadata .hooks .docstring-description ]
49-
50- [tool .hatch .version ]
51- source = " vcs"
34+ [tool .hatch ]
35+ build.targets.wheel.packages = [ " src/legacy_api_wrap" , " src/testing/legacy_api_wrap" ]
36+ envs.hatch-test.default-args = []
37+ envs.hatch-test.features = [ " test" ]
38+ envs.hatch-test.extra-dependencies = [ " ipython" ]
39+ envs.hatch-test.scripts.run = " pytest{env:HATCH_TEST_ARGS:} {args}"
40+ envs.hatch-test.scripts.run-cov = " coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
41+ envs.hatch-test.scripts.cov-combine = " coverage combine"
42+ envs.hatch-test.scripts.cov-report = " coverage-rich report"
43+ envs.hatch-test.matrix = [ { python = [ " 3.14" , " 3.10" ] } ]
44+ metadata.hooks.docstring-description = {}
45+ version.source = " vcs"
5246
5347[tool .ruff ]
5448line-length = 100
@@ -72,22 +66,24 @@ lint.flake8-copyright.notice-rgx = "SPDX-License-Identifier: MPL-2\\.0"
7266lint.isort.known-first-party = [ " legacy_api_wrap" ]
7367lint.isort.required-imports = [ " from __future__ import annotations" ]
7468
75- [tool .pytest .ini_options ]
69+ [tool .pytest ]
70+ strict = true
7671addopts = [
7772 " --import-mode=importlib" ,
78- " --strict-markers" ,
79- " -Werror" ,
8073 " -ptesting.legacy_api_wrap.pytest" ,
8174 " --doctest-modules" ,
8275 " --doctest-glob=*.rst" ,
8376]
77+ filterwarnings = [
78+ " error" ,
79+ ]
8480
8581[tool .coverage ]
8682run.data_file = " test-data/coverage"
87- xml.output = " test-data/coverage.xml"
88- html.directory = " test-data/htmlcov"
8983run.omit = [ " src/testing/*" , " tests/*" ]
9084report.exclude_also = [ " if TYPE_CHECKING:" ]
85+ html.directory = " test-data/htmlcov"
86+ xml.output = " test-data/coverage.xml"
9187
9288[tool .mypy ]
9389strict = true
0 commit comments