@@ -24,18 +24,19 @@ authors = [
2424]
2525license = " MIT"
2626dynamic = [" version" ]
27- requires-python = " >=3.9 "
27+ requires-python = " >=3.10 "
2828
2929classifiers = [
3030 " Intended Audience :: Science/Research" ,
3131 " License :: OSI Approved :: MIT License" ,
3232 " Natural Language :: English" ,
3333 " Operating System :: OS Independent" ,
3434 " Programming Language :: Python :: 3 :: Only" ,
35- " Programming Language :: Python :: 3.9" ,
3635 " Programming Language :: Python :: 3.10" ,
3736 " Programming Language :: Python :: 3.11" ,
3837 " Programming Language :: Python :: 3.12" ,
38+ " Programming Language :: Python :: 3.13" ,
39+ " Programming Language :: Python :: 3.14" ,
3940 " Programming Language :: Python :: Implementation :: CPython" ,
4041 " Topic :: Scientific/Engineering" ,
4142 " Topic :: Software Development :: Libraries :: Python Modules" ,
@@ -89,10 +90,24 @@ changelog = "https://github.com/pylhc/PyLHC/blob/master/CHANGELOG.md"
8990markers = [
9091 " cern_network: tests that require access to afs or the technical network" ,
9192]
93+
94+ addopts = [
95+ " --import-mode=importlib" ,
96+ ]
97+
9298# Helpful for pytest-debugging (leave commented out on commit):
9399# log_cli=true
94100# log_level=DEBUG
95101
102+ [tool .coverage .run ]
103+ relative_files = true
104+
105+ [tool .coverage .report ]
106+ exclude_also = [
107+ " if TYPE_CHECKING:" , # do not count if TYPE_CHECKING block imports (ignored at runtime) for coverage
108+ " except ImportError:" , # do not count missing optional dependencies set to None, we monkeypatch and test that
109+ ]
110+
96111# ----- Dev Tools Configuration ----- #
97112
98113[tool .ruff ]
0 commit comments