Improve Flake8 config (#1149)

This commit is contained in:
Adam Johnson authored and GitHub committed 2022-09-09 17:16:22 +03:00
1 parent abd0609f80
commit 29e2b65c8b
4 files changed
+14 -7

No files matched your search

@@ -16,7 +16,8 @@ class Annotations(Generic[_Annotations]):
_T = TypeVar("_T", bound=Model)
WithAnnotations = Annotated[_T, Annotations[_Annotations]]
"""Alias to make it easy to annotate the model `_T` as having annotations `_Annotations` (a `TypedDict` or `Any` if not provided).
"""Alias to make it easy to annotate the model `_T` as having annotations
`_Annotations` (a `TypedDict` or `Any` if not provided).
Use as `WithAnnotations[MyModel]` or `WithAnnotations[MyModel, MyTypedDict]`.
"""