Skip to content

Commit

Permalink
chore: format code with black and isort.
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Aug 10, 2021
1 parent f70b9cf commit 40732fe
Show file tree
Hide file tree
Showing 255 changed files with 85 additions and 3,339 deletions.
11 changes: 0 additions & 11 deletions stellar_sdk/xdr/account_entry.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_entry_ext import AccountEntryExt
from .account_id import AccountID
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .int64 import Int64
from .sequence_number import SequenceNumber
Expand Down
14 changes: 1 addition & 13 deletions stellar_sdk/xdr/account_entry_ext.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_entry_extension_v1 import AccountEntryExtensionV1
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .base import Integer

__all__ = ["AccountEntryExt"]

Expand Down
14 changes: 0 additions & 14 deletions stellar_sdk/xdr/account_entry_extension_v1.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_entry_extension_v1_ext import AccountEntryExtensionV1Ext
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .liabilities import Liabilities

__all__ = ["AccountEntryExtensionV1"]
Expand Down
14 changes: 1 addition & 13 deletions stellar_sdk/xdr/account_entry_extension_v1_ext.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_entry_extension_v2 import AccountEntryExtensionV2
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .base import Integer

__all__ = ["AccountEntryExtensionV1Ext"]

Expand Down
13 changes: 1 addition & 12 deletions stellar_sdk/xdr/account_entry_extension_v2.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from typing import List
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_entry_extension_v2_ext import AccountEntryExtensionV2Ext
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .sponsorship_descriptor import SponsorshipDescriptor
from .uint32 import Uint32
Expand Down
15 changes: 1 addition & 14 deletions stellar_sdk/xdr/account_entry_extension_v2_ext.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .base import Integer

__all__ = ["AccountEntryExtensionV2Ext"]

Expand Down
11 changes: 0 additions & 11 deletions stellar_sdk/xdr/account_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["AccountFlags"]

Expand Down
14 changes: 0 additions & 14 deletions stellar_sdk/xdr/account_id.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .public_key import PublicKey

__all__ = ["AccountID"]
Expand Down
13 changes: 0 additions & 13 deletions stellar_sdk/xdr/account_merge_result.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_merge_result_code import AccountMergeResultCode
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .int64 import Int64

__all__ = ["AccountMergeResult"]
Expand Down
11 changes: 0 additions & 11 deletions stellar_sdk/xdr/account_merge_result_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["AccountMergeResultCode"]

Expand Down
14 changes: 0 additions & 14 deletions stellar_sdk/xdr/allow_trust_op.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_id import AccountID
from .asset_code import AssetCode
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *
from .uint32 import Uint32

__all__ = ["AllowTrustOp"]
Expand Down
14 changes: 0 additions & 14 deletions stellar_sdk/xdr/allow_trust_result.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .allow_trust_result_code import AllowTrustResultCode
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["AllowTrustResult"]

Expand Down
11 changes: 0 additions & 11 deletions stellar_sdk/xdr/allow_trust_result_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["AllowTrustResultCode"]

Expand Down
13 changes: 0 additions & 13 deletions stellar_sdk/xdr/asset.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .asset_alpha_num4 import AssetAlphaNum4
from .asset_alpha_num12 import AssetAlphaNum12
from .asset_type import AssetType
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["Asset"]

Expand Down
14 changes: 0 additions & 14 deletions stellar_sdk/xdr/asset_alpha_num12.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_id import AccountID
from .asset_code12 import AssetCode12
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["AssetAlphaNum12"]

Expand Down
14 changes: 0 additions & 14 deletions stellar_sdk/xdr/asset_alpha_num4.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
# This is an automatically generated file.
# DO NOT EDIT or your changes may be overwritten
import base64
from enum import IntEnum
from typing import List, Optional
from xdrlib import Packer, Unpacker

from ..__version__ import __issues__
from ..exceptions import ValueError
from .account_id import AccountID
from .asset_code4 import AssetCode4
from .base import (
Boolean,
Hyper,
Integer,
Opaque,
String,
UnsignedHyper,
UnsignedInteger,
)
from .constants import *

__all__ = ["AssetAlphaNum4"]

Expand Down
Loading

0 comments on commit 40732fe

Please sign in to comment.