Skip to content

Commit

Permalink
Run CI tests on Python 3.12
Browse files Browse the repository at this point in the history
Home Assistant 2024.2 has updated Python to 3.12 too.
  • Loading branch information
slovdahl committed Feb 9, 2024
1 parent 74151f1 commit 705ae2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=46.4.0"]
build-backend = "setuptools.build_meta"

[tool.black]
target-version = ["py36", "py37", "py38", "py39", "py310"]
target-version = ["py39", "py310", "py311", "py312"]
exclude = 'generated'

[tool.isort]
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
license = LGPL 3

[options]
Expand Down

0 comments on commit 705ae2b

Please sign in to comment.