From 4116e9bac4c1aa96270552a9f8ea5918fd65ce52 Mon Sep 17 00:00:00 2001
From: Jiri <jiri.vestfal@fetch.ai>
Date: Fri, 27 Oct 2023 11:49:42 +0200
Subject: [PATCH] lint fix

---
 cosmpy/aerial/client/__init__.py     |  1 -
 cosmpy/aerial/client/utils.py        |  1 -
 cosmpy/aerial/contract/__init__.py   |  2 +-
 tests/unit/test_aerial/coins_test.py | 34 ++++++++++++++++------------
 4 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/cosmpy/aerial/client/__init__.py b/cosmpy/aerial/client/__init__.py
index 985f93ae..4c6fa1f9 100644
--- a/cosmpy/aerial/client/__init__.py
+++ b/cosmpy/aerial/client/__init__.py
@@ -433,7 +433,6 @@ def query_staking_summary(self, address: Address) -> StakingSummary:
             req, self.staking.DelegatorDelegations, per_page_limit=1
         ):
             for item in resp.delegation_responses:
-
                 req = QueryDelegationRewardsRequest(
                     delegator_address=str(address),
                     validator_address=str(item.delegation.validator_address),
diff --git a/cosmpy/aerial/client/utils.py b/cosmpy/aerial/client/utils.py
index 3221fd1f..db20d71e 100644
--- a/cosmpy/aerial/client/utils.py
+++ b/cosmpy/aerial/client/utils.py
@@ -52,7 +52,6 @@ def prepare_and_broadcast_basic_transaction(
         # simply build the fee from the provided gas limit
         fee = client.estimate_fee_from_gas(gas_limit)
     else:
-
         # we need to build up a representative transaction so that we can accurately simulate it
         tx.seal(
             SigningCfg.direct(sender.public_key(), account.sequence),
diff --git a/cosmpy/aerial/contract/__init__.py b/cosmpy/aerial/contract/__init__.py
index 948b9300..9aea1dbd 100644
--- a/cosmpy/aerial/contract/__init__.py
+++ b/cosmpy/aerial/contract/__init__.py
@@ -466,7 +466,7 @@ def _load_schema(self, schema_path: Optional[str]):
         if self._schema is None:
             return
 
-        for (msg_type, schema) in self._schema.items():
+        for msg_type, schema in self._schema.items():
             if "instantiate" in msg_type:
                 self._instantiate_schema = schema
             elif "query" in msg_type:
diff --git a/tests/unit/test_aerial/coins_test.py b/tests/unit/test_aerial/coins_test.py
index ef747b54..87b37b91 100644
--- a/tests/unit/test_aerial/coins_test.py
+++ b/tests/unit/test_aerial/coins_test.py
@@ -31,24 +31,30 @@
         ("          ", []),
         ("50000atestfet", [Coin(amount="50000", denom="atestfet")]),
         (
-                "50000atestfet,     200foobar",
-                [
-                    Coin(amount="50000", denom="atestfet"),
-                    Coin(amount="200", denom="foobar"),
-                ],
+            "50000atestfet,     200foobar",
+            [
+                Coin(amount="50000", denom="atestfet"),
+                Coin(amount="200", denom="foobar"),
+            ],
         ),
         (
-                "500ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B",
-                [
-                    Coin(amount="500", denom="ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B")
-                ]
+            "500ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B",
+            [
+                Coin(
+                    amount="500",
+                    denom="ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B",
+                )
+            ],
         ),
         (
-                "500ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B, 50000atestfet",
-                [
-                    Coin(amount="500", denom="ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B"),
-                    Coin(amount="50000", denom="atestfet"),
-                ]
+            "500ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B, 50000atestfet",
+            [
+                Coin(
+                    amount="500",
+                    denom="ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B",
+                ),
+                Coin(amount="50000", denom="atestfet"),
+            ],
         ),
     ],
 )