Skip to content

Commit

Permalink
Fixed mypy/pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
eprbell committed Feb 6, 2025
1 parent 67fdf19 commit 25f757c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/test_transfer_analysis_semantics_independent.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from dataclasses import dataclass
import unittest

from typing import Dict, List
from typing import List

from rp2.in_transaction import Account

Expand Down Expand Up @@ -133,7 +132,10 @@ def test_transfer_analysis_failure_all_transfer_semantics(self) -> None:
),
_Test(
# This test is from the discussion at https://github.com/eprbell/rp2/issues/135#issuecomment-2558165460
description="Transfer more than is available at timestamp 3 (even though funds with earlier cost_basis_timestamp will be available at timestamp 4)",
description=(
"Transfer more than is available at timestamp 3 (even though funds with earlier "
"cost_basis_timestamp will be available at timestamp 4)"
),
input=[
InTransactionDescriptor("1", 1, 1, "Coinbase", "Bob", 110, 10),
InTransactionDescriptor("2", 2, 2, "Kraken", "Bob", 120, 1),
Expand All @@ -146,7 +148,10 @@ def test_transfer_analysis_failure_all_transfer_semantics(self) -> None:
),
_Test(
# This test is from the discussion at https://github.com/eprbell/rp2/issues/135#issuecomment-2558165460
description="Sell more than is available at timestamp 3 (even though funds with earlier cost_basis_timestamp will be available at timestamp 4)",
description=(
"Sell more than is available at timestamp 3 (even though funds with earlier "
"cost_basis_timestamp will be available at timestamp 4)"
),
input=[
InTransactionDescriptor("1", 1, 1, "Coinbase", "Bob", 110, 10),
InTransactionDescriptor("2", 2, 2, "Kraken", "Bob", 120, 1),
Expand Down

0 comments on commit 25f757c

Please sign in to comment.