Skip to content

Commit

Permalink
fixing linter checks
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberosa committed Jul 29, 2024
1 parent 0b0b7d5 commit 4e72d0b
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 17 deletions.
12 changes: 6 additions & 6 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"contract/valory/staking_token/0.1.0": "bafybeig4fl35dn7d5gnprux2nwsqbirm7zkiujz3xvrwcjuktz6hkq4as4",
"contract/valory/relayer/0.1.0": "bafybeihzgjyvhtorugjw3yldznqsbwo3aqpxowm7k2nrvj6qtwpsc7jl7u",
"skill/valory/market_manager_abci/0.1.0": "bafybeig44vtxcq7aarqkg2mskly3zwwnyfc45rtdvorwz6ywspwg3obqn4",
"skill/valory/decision_maker_abci/0.1.0": "bafybeialzpwou72tnuoa7qdx2xzzd7w6e24cqd5jerv52bendaze4h35yq",
"skill/valory/trader_abci/0.1.0": "bafybeia2c3lznvny3z6yglphtxnry7f5dwd3y4ba5gcb2fpfaacmj6hbse",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeielzuw7uluosg7x4oqjjlz7kmxwkxy6eo5czjbcmhufmrg5ylk5fi",
"skill/valory/decision_maker_abci/0.1.0": "bafybeih7vgu2or2ef5fkpu357z5qp3ap5otgot3elbe6xztasnqlm2nshe",
"skill/valory/trader_abci/0.1.0": "bafybeieleya2bucd3r3kwldbqw4eaqnnbgegmid5b54wggwxwycpteacqy",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeigmghcgyocbhaltyiquk3lxpxyayjqmb7ivfqw4pvgq6gzjim23iq",
"skill/valory/staking_abci/0.1.0": "bafybeidubhfvlf6x627t4wetc6ran5sb4pttjphyhv6vefp2a4kcuca2be",
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeiboctfgetji6xlzw2buts5zsejnlrrhqkppme2p6fwzu26zznb324",
"agent/valory/trader/0.1.0": "bafybeievyskkjre4n3uwi6pibbb44suqow7jfzvfj5n45pkna547i63sqa",
"service/valory/trader/0.1.0": "bafybeig64jw7vgcy3vzfwphs6thn5selizccvcwnbwhsgrxyc52vz4wnee",
"service/valory/trader_pearl/0.1.0": "bafybeifmkdjnvik7lys2ngph5s6n33ox2aziyitpsjz3ec5wwocgnviw4y"
"agent/valory/trader/0.1.0": "bafybeido2sn5oremj4rsg3cnyhmwckfrnh2byustvo7zibrk2bgm5plcv4",
"service/valory/trader/0.1.0": "bafybeih4uhkxfylwipow4deajpquzkcgfxh3uwcoubjbp7lbqljv625wo4",
"service/valory/trader_pearl/0.1.0": "bafybeigigopjywtdxqmpokx7zsti5uafm5wmzwey2bk53yy7xa5fkrea54"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
6 changes: 3 additions & 3 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ skills:
- valory/reset_pause_abci:0.1.0:bafybeiameewywqigpupy3u2iwnkfczeiiucue74x2l5lbge74rmw6bgaie
- valory/termination_abci:0.1.0:bafybeif2zim2de356eo3sipkmoev5emwadpqqzk3huwqarywh4tmqt3vzq
- valory/transaction_settlement_abci:0.1.0:bafybeic3tccdjypuge2lewtlgprwkbb53lhgsgn7oiwzyrcrrptrbeyote
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeielzuw7uluosg7x4oqjjlz7kmxwkxy6eo5czjbcmhufmrg5ylk5fi
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeigmghcgyocbhaltyiquk3lxpxyayjqmb7ivfqw4pvgq6gzjim23iq
- valory/market_manager_abci:0.1.0:bafybeig44vtxcq7aarqkg2mskly3zwwnyfc45rtdvorwz6ywspwg3obqn4
- valory/decision_maker_abci:0.1.0:bafybeialzpwou72tnuoa7qdx2xzzd7w6e24cqd5jerv52bendaze4h35yq
- valory/trader_abci:0.1.0:bafybeia2c3lznvny3z6yglphtxnry7f5dwd3y4ba5gcb2fpfaacmj6hbse
- valory/decision_maker_abci:0.1.0:bafybeih7vgu2or2ef5fkpu357z5qp3ap5otgot3elbe6xztasnqlm2nshe
- valory/trader_abci:0.1.0:bafybeieleya2bucd3r3kwldbqw4eaqnnbgegmid5b54wggwxwycpteacqy
- valory/staking_abci:0.1.0:bafybeidubhfvlf6x627t4wetc6ran5sb4pttjphyhv6vefp2a4kcuca2be
- valory/check_stop_trading_abci:0.1.0:bafybeiboctfgetji6xlzw2buts5zsejnlrrhqkppme2p6fwzu26zznb324
- valory/mech_interact_abci:0.1.0:bafybeih2cck5xu6yaibomwtm5zbcp6llghr3ighdnk56fzwu3ihu5xx35e
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader/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: bafybeigtuothskwyvrhfosps2bu6suauycolj67dpuxqvnicdrdu7yhtvq
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeievyskkjre4n3uwi6pibbb44suqow7jfzvfj5n45pkna547i63sqa
agent: valory/trader:0.1.0:bafybeido2sn5oremj4rsg3cnyhmwckfrnh2byustvo7zibrk2bgm5plcv4
number_of_agents: 4
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader_pearl/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeibg7bdqpioh4lmvknw3ygnllfku32oca4eq5pqtvdrdsgw6buko7e
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeievyskkjre4n3uwi6pibbb44suqow7jfzvfj5n45pkna547i63sqa
agent: valory/trader:0.1.0:bafybeido2sn5oremj4rsg3cnyhmwckfrnh2byustvo7zibrk2bgm5plcv4
number_of_agents: 1
deployment:
agent:
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/decision_maker_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fingerprint:
redeem_info.py: bafybeifiiix4gihfo4avraxt34sfw35v6dqq45do2drrssei2shbps63mm
rounds.py: bafybeieffmnu3sivnagmhrhcufnh5zun6pxligc6wp26me43u6cjy2y3xi
states/__init__.py: bafybeid23llnyp6j257dluxmrnztugo5llsrog7kua53hllyktz4dqhqoy
states/base.py: bafybeicwod74ui6unityonnwoovr2xej5oc4oszoemvsr7cguesbqe5fjq
states/base.py: bafybeiawpbinmdx7thiwfasmwvcxunh2hdfr37gq2nrswy3zyzf53e3q5m
states/bet_placement.py: bafybeibalhxhp2c4oljmiwqi6ds3g36fgtabmf42mb5sgq6z22znrcbhda
states/blacklisting.py: bafybeiapelgjhbjjn4uq4z5gspyirqzwzgccg5anktrp5kxdwamfnfw5mi
states/check_benchmarking.py: bafybeiabv6pq7q45jd3nkor5afmlycqgec5ctuwcfbdukkjjm4imesv4ni
Expand All @@ -57,7 +57,7 @@ fingerprint:
tests/behaviours/data/.gitkeep: bafybeiekl43sjsyqfgl6y27ve5ydo4svcngrptgtffblokmspfezroxvvi
tests/behaviours/dummy_strategy/__init__.py: bafybeiep5w5yckjzy724v63qd5cmzfn3uxytmnizynomxggfobbysfcttq
tests/behaviours/dummy_strategy/dummy_strategy.py: bafybeig5e3xfr7gxsakfj4stbxqcwdiljl7klvgahkuwe3obzxgkg3qt2e
tests/behaviours/test_base.py: bafybeiagdrveenk62parzchxg2nd2krpzm2pflfv3p4gszjfpnv3r2kpf4
tests/behaviours/test_base.py: bafybeif6pglmr7pvojylatfzaxtlk65igx6a2omyrbxfihnnft6o7p75p4
tests/conftest.py: bafybeidy5hw56kw5mxudnfbhvogofn6k4rqb4ux2bd45baedrrhmgyrude
utils/__init__.py: bafybeiazrfg3kwfdl5q45azwz6b6mobqxngxpf4hazmrnkhinpk4qhbbf4
utils/nevermined.py: bafybeigallaqxhqopznhjhefr6bukh4ojkz5vdtqyzod5dksshrf24fjgi
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/decision_maker_abci/states/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def bet_amount(self) -> int:
return int(self.db.get_strict("bet_amount"))

@property
def weighted_accuracy(self) -> int:
def weighted_accuracy(self) -> float:
"""Get the weighted accuracy of the selected tool."""
tool_name = self.mech_tool
store_tools = list(self.policy.weighted_accuracy.keys())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ def test_get_bet_amount(
0,
0,
0,
0,
)
for _ in range(2):
# `download_strategies` and `wait_for_condition_with_sleep` mock calls
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/trader_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ skills:
- valory/transaction_settlement_abci:0.1.0:bafybeic3tccdjypuge2lewtlgprwkbb53lhgsgn7oiwzyrcrrptrbeyote
- valory/termination_abci:0.1.0:bafybeif2zim2de356eo3sipkmoev5emwadpqqzk3huwqarywh4tmqt3vzq
- valory/market_manager_abci:0.1.0:bafybeig44vtxcq7aarqkg2mskly3zwwnyfc45rtdvorwz6ywspwg3obqn4
- valory/decision_maker_abci:0.1.0:bafybeialzpwou72tnuoa7qdx2xzzd7w6e24cqd5jerv52bendaze4h35yq
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeielzuw7uluosg7x4oqjjlz7kmxwkxy6eo5czjbcmhufmrg5ylk5fi
- valory/decision_maker_abci:0.1.0:bafybeih7vgu2or2ef5fkpu357z5qp3ap5otgot3elbe6xztasnqlm2nshe
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeigmghcgyocbhaltyiquk3lxpxyayjqmb7ivfqw4pvgq6gzjim23iq
- valory/staking_abci:0.1.0:bafybeidubhfvlf6x627t4wetc6ran5sb4pttjphyhv6vefp2a4kcuca2be
- valory/check_stop_trading_abci:0.1.0:bafybeiboctfgetji6xlzw2buts5zsejnlrrhqkppme2p6fwzu26zznb324
- valory/mech_interact_abci:0.1.0:bafybeih2cck5xu6yaibomwtm5zbcp6llghr3ighdnk56fzwu3ihu5xx35e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protocols:
- valory/ledger_api:1.0.0:bafybeihdk6psr4guxmbcrc26jr2cbgzpd5aljkqvpwo64bvaz7tdti2oni
skills:
- valory/abstract_round_abci:0.1.0:bafybeiar2yhzxacfe3qqamqhaihtlcimquwedffctw55sowx6rac3cm3ui
- valory/decision_maker_abci:0.1.0:bafybeialzpwou72tnuoa7qdx2xzzd7w6e24cqd5jerv52bendaze4h35yq
- valory/decision_maker_abci:0.1.0:bafybeih7vgu2or2ef5fkpu357z5qp3ap5otgot3elbe6xztasnqlm2nshe
- valory/staking_abci:0.1.0:bafybeidubhfvlf6x627t4wetc6ran5sb4pttjphyhv6vefp2a4kcuca2be
- valory/mech_interact_abci:0.1.0:bafybeih2cck5xu6yaibomwtm5zbcp6llghr3ighdnk56fzwu3ihu5xx35e
behaviours:
Expand Down

0 comments on commit 4e72d0b

Please sign in to comment.