Skip to content

Commit

Permalink
style(packages: skills: demo_abci: behaviours): bandit
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Aug 6, 2024
1 parent 99927bb commit 2f289b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/author/skills/demo_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def async_act(self) -> Generator:

with self.context.benchmark_tool.measure(self.behaviour_id).local():
sender = self.context.agent_address
payload_content = " ".join(random.choice(DICTIONARY) for _ in range(2))
# `nosec` because random here used not for cryptography here:
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

0 comments on commit 2f289b2

Please sign in to comment.