Skip to content

Commit

Permalink
Update to Python 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Jun 10, 2024
1 parent 2fceb8b commit f6c8b19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
cache: 'pip'

- name: Install dependencies
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"files.associations": {
"*.yaml": "home-assistant"
},
"json.format.keepLines": true
"json.format.keepLines": true,
"python.defaultInterpreterPath": "python3.12"
}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ skip = ".git,.mypy_cache,.pytest_cache,.ruff_cache,.tox,.vscode,build,*/translat
ignore-words-list = "hass"

[tool.mypy]
python_version = "3.11"
python_version = "3.12"
show_error_codes = true
follow_imports = "silent"
local_partial_types = true
Expand Down Expand Up @@ -210,7 +210,7 @@ legacy_tox_ini = """
[gh-actions]
python =
3.11: py311, lint, type
3.12: py312, lint, type
[testenv]
deps =
Expand Down

0 comments on commit f6c8b19

Please sign in to comment.