Skip to content

Commit f39f5be

Browse files
committed
Fix wrong Python versions, forgotten when upgraded to 3.12
1 parent 5efde3d commit f39f5be

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Upgrade CI to use ubuntu-24.04
1313
- Upgrade CI actions to use latest version
1414

15+
## Fixed
16+
17+
- Fixed `pyproject.toml` versions used in pytest, black, ruff and pyright
18+
1519
## [1.0.2] - 2024-06-10
1620

1721
### Changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ features = ["dev"]
6060
features = ["scripts", "test"]
6161

6262
[[tool.hatch.envs.test.matrix]]
63-
python = ["3.10", "3.11"]
63+
python = ["3.11", "3.12"]
6464

6565
[tool.hatch.envs.test.scripts]
6666
run = "inv test --args '{args}'"
@@ -91,10 +91,10 @@ all = "inv checkall --args '{args}'"
9191

9292
[tool.black]
9393
line-length = 88
94-
target-version = ['py310']
94+
target-version = ['py311']
9595

9696
[tool.ruff]
97-
target-version = "py311"
97+
target-version = "py312"
9898
line-length = 88
9999
src = ["src"]
100100

@@ -217,6 +217,6 @@ exclude_lines = [
217217
include = ["src", "tests", "tasks.py"]
218218
exclude = [".env/**", ".venv/**"]
219219
extraPaths = ["src"]
220-
pythonVersion = "3.11"
220+
pythonVersion = "3.12"
221221
typeCheckingMode="strict"
222222
disableBytesTypePromotions = true

0 commit comments

Comments
 (0)