Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Oct 3, 2024
1 parent a80826b commit 4162756
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/agents/mech/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/mech/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 6 additions & 2 deletions packages/valory/skills/task_execution/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
from aea.exceptions import enforce
from aea.skills.base import Model

ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'

ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"


@dataclasses.dataclass
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/task_execution/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4162756

Please sign in to comment.