Skip to content

Commit

Permalink
Re-enable mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
canton7 committed Jan 22, 2025
1 parent ad73f18 commit e8aa93b
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ repos:
rev: v0.0.275
hooks:
- id: ruff
# Temporarily disabled due to crash, probably caused by us having to use HA stubs which are out of date?
# See https://github.com/nathanmarlor/foxess_modbus/actions/runs/12610946302/job/35146070831?pr=720
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.5.1
# hooks:
# - id: mypy
# # These are duplicated from requirements.txt
# additional_dependencies:
# [
# homeassistant-stubs==2024.12.5,
# types-python-slugify==8.0.0.2,
# voluptuous-stubs==0.1.1,
# ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
hooks:
- id: mypy
# These are duplicated from requirements.txt
additional_dependencies:
[
homeassistant-stubs==2025.1.0,
types-python-slugify==8.0.0.2,
voluptuous-stubs==0.1.1,
]

0 comments on commit e8aa93b

Please sign in to comment.