From 4162756ffe8350cc1e8d6f516033615013b8c2c1 Mon Sep 17 00:00:00 2001 From: Ardian Date: Thu, 3 Oct 2024 12:16:36 +0200 Subject: [PATCH] chore: lint --- packages/packages.json | 6 +++--- packages/valory/agents/mech/aea-config.yaml | 2 +- packages/valory/services/mech/service.yaml | 2 +- packages/valory/skills/task_execution/models.py | 8 ++++++-- packages/valory/skills/task_execution/skill.yaml | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index 65726ee6..4e2e0efb 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -42,11 +42,11 @@ "skill/valory/contract_subscription/0.1.0": "bafybeiefuemlp75obgpxrp6iuleb3hn6vcviwh5oetk5djbuprf4xsmgjy", "skill/valory/mech_abci/0.1.0": "bafybeidkwahhblv6d6shzrk665yguyfar3w6qbld5ryjolw4zibdwr73vi", "skill/valory/task_submission_abci/0.1.0": "bafybeifkd76popxwociq2ryojbcjyesmxoagqyjrbs73qoyd5o4szz6cgu", - "skill/valory/task_execution/0.1.0": "bafybeihdifwiijre7ryfwyinvchjs4a6eqwstjllklbwkpqnxzlea7nqzu", + "skill/valory/task_execution/0.1.0": "bafybeicg7rvme6dajqzwval3igq352mjor6k4lnw3tachrml66o7cm7mvm", "skill/valory/websocket_client/0.1.0": "bafybeif7rrvsu6z4evqkhblxj3u6wwv2eqou576hgkyoehxuj7cntw7o2m", "skill/valory/subscription_abci/0.1.0": "bafybeihtortmv4fqua5wrnshpnvqsbpaf52frwynrmpuv2uw5j7wkauhze", - "agent/valory/mech/0.1.0": "bafybeiaj6x5yjlofsvvnrpyskgfo4k7m7jf4xpm46q3kzjiurmb4vipgzu", - "service/valory/mech/0.1.0": "bafybeigy7ooz7jrtq2myrla6psfepcbgsmwxiumjwk6fp52dtgcizmhxre" + "agent/valory/mech/0.1.0": "bafybeib4ptljwzt34isrcmbkloexgp2wdmbrinl5a57xxvgjqub2ikhzvm", + "service/valory/mech/0.1.0": "bafybeieetllbqkol5nsreusrra553diyc3ec5n3lw5p23d5sromggarsc4" }, "third_party": { "protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq", diff --git a/packages/valory/agents/mech/aea-config.yaml b/packages/valory/agents/mech/aea-config.yaml index 7648c85c..3ba2b2cc 100644 --- a/packages/valory/agents/mech/aea-config.yaml +++ b/packages/valory/agents/mech/aea-config.yaml @@ -43,7 +43,7 @@ skills: - valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm - valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam - valory/subscription_abci:0.1.0:bafybeihtortmv4fqua5wrnshpnvqsbpaf52frwynrmpuv2uw5j7wkauhze -- valory/task_execution:0.1.0:bafybeihdifwiijre7ryfwyinvchjs4a6eqwstjllklbwkpqnxzlea7nqzu +- valory/task_execution:0.1.0:bafybeicg7rvme6dajqzwval3igq352mjor6k4lnw3tachrml66o7cm7mvm - valory/task_submission_abci:0.1.0:bafybeifkd76popxwociq2ryojbcjyesmxoagqyjrbs73qoyd5o4szz6cgu - valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44 - valory/transaction_settlement_abci:0.1.0:bafybeigtzlk4uakmd54rxnznorcrstsr52kta474lgrnvx5ovr546vj7sq diff --git a/packages/valory/services/mech/service.yaml b/packages/valory/services/mech/service.yaml index 831cfca6..fa4bbf2f 100644 --- a/packages/valory/services/mech/service.yaml +++ b/packages/valory/services/mech/service.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba fingerprint_ignore_patterns: [] -agent: valory/mech:0.1.0:bafybeiaj6x5yjlofsvvnrpyskgfo4k7m7jf4xpm46q3kzjiurmb4vipgzu +agent: valory/mech:0.1.0:bafybeib4ptljwzt34isrcmbkloexgp2wdmbrinl5a57xxvgjqub2ikhzvm number_of_agents: 4 deployment: agent: diff --git a/packages/valory/skills/task_execution/models.py b/packages/valory/skills/task_execution/models.py index 8fc16254..7083f550 100644 --- a/packages/valory/skills/task_execution/models.py +++ b/packages/valory/skills/task_execution/models.py @@ -25,7 +25,8 @@ from aea.exceptions import enforce from aea.skills.base import Model -ZERO_ADDRESS = '0x0000000000000000000000000000000000000000' + +ZERO_ADDRESS = "0x0000000000000000000000000000000000000000" @dataclasses.dataclass @@ -89,7 +90,10 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: self.mech_marketplace_address: Optional[str] = kwargs.get( "mech_marketplace_address", None ) - self.use_mech_marketplace = self.mech_marketplace_address is not None and self.mech_marketplace_address != ZERO_ADDRESS + self.use_mech_marketplace = ( + self.mech_marketplace_address is not None + and self.mech_marketplace_address != ZERO_ADDRESS + ) super().__init__(*args, **kwargs) def _nested_list_todict_workaround( diff --git a/packages/valory/skills/task_execution/skill.yaml b/packages/valory/skills/task_execution/skill.yaml index 2a4ed0a6..8e9412be 100644 --- a/packages/valory/skills/task_execution/skill.yaml +++ b/packages/valory/skills/task_execution/skill.yaml @@ -10,7 +10,7 @@ fingerprint: behaviours.py: bafybeieqfperjuyytzuqeur4tsurkhk6z44kd3ncn53rljtgfffttpjkim dialogues.py: bafybeid4zxalqdlo5mw4yfbuf34hx4jp5ay5z6chm4zviwu4cj7fudtwca handlers.py: bafybeidbt5ezj74cgfogk3w4uw4si2grlnk5g54veyumw7g5yh6gdscywu - models.py: bafybeic2zhesvzdhdko3x3kuy2cyzrzm73topknrjnwjtysspyzfbwb34i + models.py: bafybeihnwrb6l7fe5ewt3zokxl7rn6ijtzu3z7lgpam2cz4v5cwj4ewvyu utils/__init__.py: bafybeiccdijaigu6e5p2iruwo5mkk224o7ywedc7nr6xeu5fpmhjqgk24e utils/apis.py: bafybeigu73lfz3g3mc6iupisrvlsp3fyl4du3oqlyajgdpfvtqypddh3w4 utils/benchmarks.py: bafybeiafnee7iay6dyjnatyqyzjov5c4ibl3ojamjmgfjri7cyghl7qayq