Skip to content

Commit f010a47

Browse files
committed
Add py312 test.
1 parent 8229a9f commit f010a47

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

pyproject.toml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ build-backend = "hatchling.build"
66
name = "pyGMM"
77
dynamic = ["version"]
88
authors = [{ name = "Albert Kottke", email = "albert.kottke@gmail.com" }]
9-
description="Ground motion models implemented in Python."
9+
description = "Ground motion models implemented in Python."
1010
readme = "README.md"
1111
license = "MIT"
1212
requires-python = ">=3.8"
13-
dependencies = [
14-
"matplotlib",
15-
"numpy",
16-
"scipy",
17-
]
13+
dependencies = ["matplotlib", "numpy", "scipy"]
1814

1915
[project.urls]
2016
Homepage = "https://github.com/arkottke/pygmm"
@@ -31,11 +27,11 @@ source = "vcs"
3127

3228
[tool.hatch.envs.test]
3329
dependencies = [
34-
"coverage[toml]",
35-
"pytest",
36-
"pytest-cov",
37-
"pytest-runner",
38-
"pytest-flake8",
30+
"coverage[toml]",
31+
"pytest",
32+
"pytest-cov",
33+
"pytest-runner",
34+
"pytest-flake8",
3935
]
4036

4137
[tool.hatch.envs.test.scripts]
@@ -44,7 +40,7 @@ run-coverage-xml = "run-coverage --cov-report xml"
4440
run = "run-coverage --no-cov"
4541

4642
[[tool.hatch.envs.test.matrix]]
47-
python = ["3.8", "3.10", "3.11"]
43+
python = ["3.8", "3.10", "3.12"]
4844

4945
[tool.hatch.envs.style]
5046
detached = true
@@ -55,12 +51,7 @@ check = ["ruff check --diff"]
5551
fmt = ["ruff check --fix", "check"]
5652

5753
[tool.hatch.envs.docs]
58-
dependencies = [
59-
"jinja2",
60-
"sphinx",
61-
"sphinx_rtd_theme",
62-
"sphinxcontrib-bibtex",
63-
]
54+
dependencies = ["jinja2", "sphinx", "sphinx_rtd_theme", "sphinxcontrib-bibtex"]
6455
[tool.hatch.envs.docs.scripts]
6556
build = "mkdocs build --clean --strict"
6657
serve = "mkdocs serve --dev-addr localhost:8000"

0 commit comments

Comments
 (0)