Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Commit 6ff07ec

Browse files
committed
Run isort on the alma folder.
1 parent 26d88a5 commit 6ff07ec

8 files changed

Lines changed: 11 additions & 13 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ black: install-dev
4040
$(VENV)/bin/black setup.py alma
4141

4242
isort: install-dev
43-
$(VENV)/bin/isort setup.py alma
43+
$(VENV)/bin/isort --recursive setup.py alma
4444

4545
build-requirements:
4646
$(VIRTUALENV) $(TEMPDIR)

alma/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
from . import endpoints
2-
from . import entities
3-
4-
from .client import Client
1+
from . import endpoints, entities
52
from .api_modes import ApiModes
3+
from .client import Client
64

75
import pkg_resources
86

alma/endpoints/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .base import Base
22
from .merchants import Merchants
3-
from .payments import Payments
43
from .orders import Orders
4+
from .payments import Payments

alma/endpoints/merchants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from . import Base
21
from ..entities import Merchant
2+
from . import Base
33

44

55
class Merchants(Base):

alma/endpoints/orders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from functools import partial
22

3-
from . import Base
43
from ..entities import Order
54
from ..paginated_results import PaginatedResults
5+
from . import Base
66

77

88
class Orders(Base):

alma/endpoints/payments.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from functools import partial
2-
from typing import Union, List
2+
from typing import List, Union
33

4-
from . import Base
5-
from ..entities import Payment, Eligibility, Order
4+
from ..entities import Eligibility, Order, Payment
65
from ..paginated_results import PaginatedResults
6+
from . import Base
77

88

99
class Payments(Base):

alma/entities/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
from .installment import Installment, InstallmentState
44
from .merchant import Merchant
55
from .order import Order
6+
from .payment import Payment, PaymentFraudType, PaymentState
67
from .refund import Refund
7-
from .payment import Payment, PaymentState, PaymentFraudType

alma/paginated_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from collections.abc import Sequence, Iterable
1+
from collections.abc import Iterable, Sequence
22
from typing import Callable, Type, Union
33

44
from alma.entities import Base as BaseEntity

0 commit comments

Comments
 (0)