stubs: Sort *.pyi imports with isort.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-07-09 17:19:47 -07:00 committed by Tim Abbott
parent ae655bdc69
commit a3603a865e
2 changed files with 5 additions and 4 deletions

View File

@ -1,13 +1,13 @@
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-stubs-for-third-party-modules # See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-stubs-for-third-party-modules
# for notes on how we manage mypy stubs. # 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.error as error
import stripe.util as util import stripe.util as util
import stripe.api_requestor as api_requestor
from stripe.api_resources.list_object import SubscriptionListObject from stripe.api_resources.list_object import SubscriptionListObject
from typing import Optional, Any, Dict, List, Union
api_key: Optional[str] api_key: Optional[str]
class Customer: class Customer:

View File

@ -1,5 +1,6 @@
from typing import Any, Dict, Iterator, List, Optional
from stripe import Subscription from stripe import Subscription
from typing import Optional, Any, Dict, List, Iterator
class SubscriptionListObject: class SubscriptionListObject:
data: List[Subscription] data: List[Subscription]