mirror of https://github.com/zulip/zulip.git
stubs: Sort *.pyi imports with isort.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
ae655bdc69
commit
a3603a865e
|
@ -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:
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue