Skip to content

Commit

Permalink
style: apply black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Aug 6, 2024
1 parent 5366977 commit 8c11dcf
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/author/agents/demo_agent/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ protocols:
skills:
- valory/abstract_abci:0.1.0:bafybeihat4giyc4bz6zopvahcj4iw53356pbtwfn7p4d5yflwly2qhahum
- valory/abstract_round_abci:0.1.0:bafybeih3enhagoql7kzpeyzzu2scpkif6y3ubakpralfnwxcvxexdyvy5i
- author/demo_abci:0.1.0:bafybeidcagaethamwaiityrxrqnpatkibycmlgesn5ntzgwtpmfbmeusku
- author/demo_chained_abci:0.1.0:bafybeifb5vfy2nwc7xg4fzeksotowzlojj5vezk5ei3ekouleso2crxxze
- author/demo_abci:0.1.0:bafybeihgwvfds3ecjbqn6jy7u6cvnc7j3h55ggjhpnkkqpxc5g7wl5vd6q
- author/demo_chained_abci:0.1.0:bafybeiedl2e3e6qttw43or2bazwo33zhgybevwpk6oyykkkqzyxka526hq
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
Expand Down
2 changes: 1 addition & 1 deletion packages/author/services/demo_service/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: bafybeicxq7czrb2v2mzpvytqc53eawd6kwe7vq2lh5kn63hhxrj3fqodne
fingerprint_ignore_patterns: []
agent: author/demo_agent:0.1.0:bafybeihkx6zfp56jzjxdloix3zllsorfjvs2jhfg3tmvlb5au4cs5bvvya
agent: author/demo_agent:0.1.0:bafybeiatwkf6au4sqaexbjyvfu3zkrazuqzdmfycl6dgurg5ukrop44qzy
number_of_agents: 1
deployment:
agent:
Expand Down
15 changes: 13 additions & 2 deletions packages/author/skills/demo_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,16 @@ def local_state(self) -> SharedState:


DICTIONARY = (
"hello", "sun", "world", "space", "moon", "crypto", "sky", "ocean", "universe", "human"
"hello",
"sun",
"world",
"space",
"moon",
"crypto",
"sky",
"ocean",
"universe",
"human",
)


Expand All @@ -72,7 +81,9 @@ def async_act(self) -> Generator:
with self.context.benchmark_tool.measure(self.behaviour_id).local():
sender = self.context.agent_address
# `nosec` because random is used not for cryptography here:
payload_content = " ".join(random.choice(DICTIONARY) for _ in range(2)) # nosec B311
payload_content = " ".join(
random.choice(DICTIONARY) for _ in range(2) # nosec B311
)
self.context.logger.info(payload_content)
payload = DemoPayload(sender=sender, content=payload_content)

Expand Down
2 changes: 1 addition & 1 deletion packages/author/skills/demo_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeic7j5uouzatm6jcd5izcdgucm4yppu76s6iuczke6rzzhwbwbvgue
behaviours.py: bafybeicz673bfsrwfjnsiywlfjd2255quuo6mqrch3256zgcev4qbepagu
behaviours.py: bafybeicxwqw3qezs3atrp5gwzlsnd42wwhlxftfai3kb2ijxsmoz6lb7jq
dialogues.py: bafybeifs775q3j2ipnpzn4pwcom47hhgyg7czqqy5gvjo5ov7ijjrqzeju
fsm_specification.yaml: bafybeidfv2py64y2atghoe2kzgvtxtotk2srmfrvtg4tju4gdahqelfaau
handlers.py: bafybeibyx7bjxfe2ffchmv33w4itxpa4mi5wtbtjzgxzh6knp7fwpvthzm
Expand Down
2 changes: 1 addition & 1 deletion packages/author/skills/demo_chained_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ skills:
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
- author/demo_abci:0.1.0:bafybeidcagaethamwaiityrxrqnpatkibycmlgesn5ntzgwtpmfbmeusku
- author/demo_abci:0.1.0:bafybeihgwvfds3ecjbqn6jy7u6cvnc7j3h55ggjhpnkkqpxc5g7wl5vd6q
- valory/transaction_settlement_abci:0.1.0:bafybeigtzlk4uakmd54rxnznorcrstsr52kta474lgrnvx5ovr546vj7sq
behaviours:
main:
Expand Down
8 changes: 4 additions & 4 deletions packages/packages.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"dev": {
"skill/author/demo_abci/0.1.0": "bafybeidcagaethamwaiityrxrqnpatkibycmlgesn5ntzgwtpmfbmeusku",
"skill/author/demo_chained_abci/0.1.0": "bafybeifb5vfy2nwc7xg4fzeksotowzlojj5vezk5ei3ekouleso2crxxze",
"agent/author/demo_agent/0.1.0": "bafybeihkx6zfp56jzjxdloix3zllsorfjvs2jhfg3tmvlb5au4cs5bvvya",
"service/author/demo_service/0.1.0": "bafybeif62elinxmknnp5hxjc72smech6z34eadxfp6b43vjsy4u62net5q"
"skill/author/demo_abci/0.1.0": "bafybeihgwvfds3ecjbqn6jy7u6cvnc7j3h55ggjhpnkkqpxc5g7wl5vd6q",
"skill/author/demo_chained_abci/0.1.0": "bafybeiedl2e3e6qttw43or2bazwo33zhgybevwpk6oyykkkqzyxka526hq",
"agent/author/demo_agent/0.1.0": "bafybeiatwkf6au4sqaexbjyvfu3zkrazuqzdmfycl6dgurg5ukrop44qzy",
"service/author/demo_service/0.1.0": "bafybeiayceruuokxv7sjqiybl3kzwdpwkwy7jxvsub4oooqyll72xpvare"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down

0 comments on commit 8c11dcf

Please sign in to comment.