Skip to content

Commit

Permalink
Update python-typing-update to 0.6.0 (home-assistant#97531)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Jul 31, 2023
1 parent dba6330 commit 4d9b730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
hooks:
- id: prettier
- repo: https://github.com/cdce8p/python-typing-update
rev: v0.5.0
rev: v0.6.0
hooks:
# Run `python-typing-update` hook manually from time to time
# to update python typing syntax.
Expand All @@ -52,7 +52,7 @@ repos:
- id: python-typing-update
stages: [manual]
args:
- --py310-plus
- --py311-plus
- --force
- --keep-updates
files: ^(homeassistant|tests|script)/.+\.py$
Expand Down
3 changes: 1 addition & 2 deletions homeassistant/helpers/entity_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
from enum import StrEnum
import logging
import time
from typing import TYPE_CHECKING, Any, Literal, TypedDict, TypeVar, cast
from typing import TYPE_CHECKING, Any, Literal, NotRequired, TypedDict, TypeVar, cast

import attr
from typing_extensions import NotRequired
import voluptuous as vol

from homeassistant.const import (
Expand Down

0 comments on commit 4d9b730

Please sign in to comment.