Skip to content

Commit

Permalink
Fix issues found by ruff during CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Jul 17, 2024
1 parent 8d43fe5 commit 4675678
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion atxm/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
_get_average_blocktime,
_get_confirmations,
_get_receipt,
_process_send_raw_transaction_exception,
_is_recoverable_send_tx_error,
_make_tx_params,
_process_send_raw_transaction_exception,
fire_hook,
)

from .logging import log


Expand Down
3 changes: 1 addition & 2 deletions atxm/strategies.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import time

import math
import time
from abc import ABC
from datetime import datetime, timedelta
from typing import Optional, Tuple
Expand Down
2 changes: 1 addition & 1 deletion atxm/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
from atxm.exceptions import InsufficientFunds, TransactionFaulted
from atxm.logging import log
from atxm.tx import (
FaultedTx,
FinalizedTx,
FutureTx,
PendingTx,
TxHash,
FaultedTx,
)
from atxm.utils import fire_hook

Expand Down
3 changes: 1 addition & 2 deletions atxm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
TooManyRequests,
TransactionNotFound,
)
from web3.types import RPCError, TxData, TxParams
from web3.types import TxReceipt, Wei
from web3.types import RPCError, TxData, TxParams, TxReceipt, Wei

from atxm.exceptions import InsufficientFunds, RPCException
from atxm.logging import log
Expand Down

0 comments on commit 4675678

Please sign in to comment.