Update python-typing-update to 0.6.0 (#97531)

This commit is contained in:
Marc Mueller 2023-07-31 17:59:40 +02:00 committed by GitHub
parent dba6330fc8
commit 4d9b73033d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -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$

View file

@ -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 (