Skip to content

Commit e86a127

Browse files
committed
[python-sdk] fixup for poetry
1 parent dfa6fea commit e86a127

File tree

4 files changed

+21
-56
lines changed

4 files changed

+21
-56
lines changed

ecosystem/python/sdk/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ fmt:
99
- find aptos_sdk -type f -name "*.py" | xargs poetry run isort
1010
- find aptos_sdk -type f -name "*.py" | xargs poetry run black
1111

12-
fmt-classic:
13-
- find . -type f -name "*.py" | xargs python -m autoflake -i -r --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports
14-
- find . -type f -name "*.py" | xargs python -m isort
15-
- find . -type f -name "*.py" | xargs python -m black
16-
1712
examples:
1813
- poetry run python -m examples.transfer-coin
1914
- poetry run python -m examples.simple-nft

ecosystem/python/sdk/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ We use [Poetry](https://python-poetry.org/docs/#installation) for packaging and
1313

1414
```
1515
curl -sSL https://install.python-poetry.org | python3
16+
poetry update
1617
```
1718

1819
## Unit testing

ecosystem/python/sdk/aptos_sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
from .authenticator import Authenticator, Ed25519Authenticator, MultiAgentAuthenticator
1212
from .bcs import Serializer
1313
from .transactions import (
14+
EntryFunction,
1415
MultiAgentRawTransaction,
1516
RawTransaction,
16-
EntryFunction,
1717
SignedTransaction,
1818
TransactionArgument,
1919
TransactionPayload,

ecosystem/python/sdk/poetry.lock

Lines changed: 19 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)