Skip to content

Commit b88640f

Browse files
committed
3.14 tag, drop 3.10, coverage config like omc3
1 parent 726d7d7 commit b88640f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ authors = [
2424
]
2525
license = "MIT"
2626
dynamic = ["version"]
27-
requires-python = ">=3.9"
27+
requires-python = ">=3.10"
2828

2929
keywords = [
3030
"SDDS",
@@ -36,10 +36,11 @@ classifiers = [
3636
"Natural Language :: English",
3737
"Operating System :: OS Independent",
3838
"Programming Language :: Python :: 3 :: Only",
39-
"Programming Language :: Python :: 3.9",
4039
"Programming Language :: Python :: 3.10",
4140
"Programming Language :: Python :: 3.11",
4241
"Programming Language :: Python :: 3.12",
42+
"Programming Language :: Python :: 3.13",
43+
"Programming Language :: Python :: 3.14",
4344
"Programming Language :: Python :: Implementation :: CPython",
4445
"Topic :: Scientific/Engineering",
4546
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -74,17 +75,16 @@ changelog = "https://github.com/pylhc/sdds/blob/master/CHANGELOG.md"
7475
# ----- Testing ----- #
7576

7677
[tool.pytest.ini_options]
77-
addopts = "--cov-report=xml --cov-report term-missing --cov-config=pyproject.toml --cov=sdds"
78-
testpaths = ["tests"]
78+
addopts = [
79+
"--import-mode=importlib",
80+
]
7981

8082
[tool.coverage.run]
81-
source = ["sdds/"]
83+
relative_files = true
8284

8385
[tool.coverage.report]
84-
precision = 2
85-
ignore_errors = true
8686
exclude_also = [
87-
"if TYPE_CHECKING:", # do not count if TYPE_CHECKING block imports (ignored at runtime) for coverage
87+
"if TYPE_CHECKING:", # do not count type checking imports (ignored at runtime) for coverage
8888
"except ImportError:", # do not count missing optional dependencies set to None, we monkeypatch and test that
8989
]
9090

0 commit comments

Comments
 (0)