3.13 has an import issue, 3.14 has a "hey why are you ignoring here"
issue, solve them both
this then cascaded into zimport uncooperativeness so had to
fix that and put out 0.6.3, so this becomes more of a thing
Change-Id: I5c01e48af2af14be17c3e5f2a53e7913444b98eb
(cherry picked from commit
f4c08c07d0ea4d18d384925f4c7d46f05566f42b)
- id: black
- repo: https://github.com/sqlalchemyorg/zimports
- rev: v0.6.2
+ rev: v0.6.3
hooks:
- id: zimports
# vendor a minimal form of get_annotations per
# https://github.com/python/cpython/issues/133684#issuecomment-2863841891
- from annotationlib import call_annotate_function # type: ignore
+ from annotationlib import call_annotate_function # type: ignore[import-not-found,unused-ignore] # noqa: E501
from annotationlib import Format
def _get_and_call_annotate(obj, format): # noqa: A002
"pygments",
"black==25.1.0",
"slotscheck>=0.17.0",
- "zimports", # required by generate_tuple_map_overloads
+ "zimports>=0.6.3", # required by generate_tuple_map_overloads
]
mypy = [