Update python-typing-update to 0.6.0 (#97531)
This commit is contained in:
parent
dba6330fc8
commit
4d9b73033d
2 changed files with 3 additions and 4 deletions
|
@ -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.
|
||||
|
@ -52,7 +52,7 @@ repos:
|
|||
- id: python-typing-update
|
||||
stages: [manual]
|
||||
args:
|
||||
- --py310-plus
|
||||
- --py311-plus
|
||||
- --force
|
||||
- --keep-updates
|
||||
files: ^(homeassistant|tests|script)/.+\.py$
|
||||
|
|
|
@ -15,10 +15,9 @@ from datetime import datetime, timedelta
|
|||
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 (
|
||||
|
|
Loading…
Add table
Reference in a new issue