Skip to content

Commit b00f948

Browse files
authored
upgrade pytest from v8 to v9 (#174)
* build: bump pytest v8 => v9 * build: bump tools target python v3.11 => v3.12
1 parent 6055968 commit b00f948

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Repository = "https://github.com/datakind/permanent-colandr-back"
6363
dev = [
6464
"httpx~=0.28.0",
6565
"mypy~=1.0",
66-
"pytest~=8.0",
66+
"pytest~=9.0",
6767
"pytest-postgresql~=7.0",
6868
"SQLAlchemy-Utils~=0.42.0",
6969
"ruff~=0.14.0",
@@ -82,21 +82,22 @@ module-root = ""
8282

8383
[tool.mypy]
8484
files = ["colandr/**/*.py"]
85-
python_version = "3.11"
85+
python_version = "3.12"
8686
pretty = true
8787
ignore_errors = true
8888
allow_redefinition = true
8989
ignore_missing_imports = true
9090
follow_imports = "silent"
9191

92-
[tool.pytest.ini_options]
93-
addopts = "--verbose"
92+
[tool.pytest]
93+
minversion = "9.0"
94+
addopts = ["--verbose"]
9495
testpaths = ["tests"]
9596

9697
[tool.ruff]
9798
line-length = 88
9899
indent-width = 4
99-
target-version = "py311"
100+
target-version = "py312"
100101
src = ["colandr"]
101102

102103
[tool.ruff.format]

uv.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)