From a3603a865e861f1b05fa80ca11b31022285a5282 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 9 Jul 2021 17:19:47 -0700 Subject: [PATCH] stubs: Sort *.pyi imports with isort. Signed-off-by: Anders Kaseorg --- stubs/stripe/__init__.pyi | 6 +++--- stubs/stripe/api_resources/list_object/__init__.pyi | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/stubs/stripe/__init__.pyi b/stubs/stripe/__init__.pyi index 06712dd872..cbf6b6700b 100644 --- a/stubs/stripe/__init__.pyi +++ b/stubs/stripe/__init__.pyi @@ -1,13 +1,13 @@ # See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-stubs-for-third-party-modules # for notes on how we manage mypy stubs. +from typing import Any, Dict, List, Optional, Union + +import stripe.api_requestor as api_requestor import stripe.error as error import stripe.util as util -import stripe.api_requestor as api_requestor from stripe.api_resources.list_object import SubscriptionListObject -from typing import Optional, Any, Dict, List, Union - api_key: Optional[str] class Customer: diff --git a/stubs/stripe/api_resources/list_object/__init__.pyi b/stubs/stripe/api_resources/list_object/__init__.pyi index a2263df134..ddd585c084 100644 --- a/stubs/stripe/api_resources/list_object/__init__.pyi +++ b/stubs/stripe/api_resources/list_object/__init__.pyi @@ -1,5 +1,6 @@ +from typing import Any, Dict, Iterator, List, Optional + from stripe import Subscription -from typing import Optional, Any, Dict, List, Iterator class SubscriptionListObject: data: List[Subscription]