Skip to content

Commit

Permalink
chore: update env to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelli74 committed May 30, 2024
1 parent ee2b57f commit 3539a63
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0


- uses: actions/setup-python@v3
with:
python-version: '3.12'

- name: Pre-commit
uses: pre-commit/action@v3.0.1

Expand Down
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
exclude: "CHANGELOG.md|.copier-answers.yml"
default_stages: [commit]

default_language_version:
python: python3.12

ci:
autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
Expand Down Expand Up @@ -53,4 +56,4 @@ repos:
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies: [homeassistant]
additional_dependencies: [homeassistant==2024.5.1]

0 comments on commit 3539a63

Please sign in to comment.