diff options
author | 2023-05-15 19:55:12 +0000 | |
---|---|---|
committer | 2023-05-15 19:55:12 +0000 | |
commit | 6115936161ce67fd87747600c0b43068624da42a (patch) | |
tree | 1a29ff4eb28477639e2862e027dfdc16714af4bb /bot/exts/fun/duck_game.py | |
parent | Bump sentry-sdk from 1.21.1 to 1.22.2 (#1274) (diff) |
Bump ruff from 0.0.265 to 0.0.267 (#1276)
* Bump ruff from 0.0.265 to 0.0.267
Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.265 to 0.0.267.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.265...v0.0.267)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
* Fix linting errors from new ruff rules
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Lovering <[email protected]>
Diffstat (limited to 'bot/exts/fun/duck_game.py')
-rw-r--r-- | bot/exts/fun/duck_game.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/duck_game.py b/bot/exts/fun/duck_game.py index 3f34ece7..fbdc9ea2 100644 --- a/bot/exts/fun/duck_game.py +++ b/bot/exts/fun/duck_game.py @@ -248,7 +248,7 @@ class DuckGamesDirector(commands.Cog): if answer in game.solutions: game.claimed_answers[answer] = msg.author game.scores[msg.author] += CORRECT_SOLN - await self.append_to_found_embed(game, f"{str(answer):12s} - {msg.author.display_name}") + await self.append_to_found_embed(game, f"{answer!s:12s} - {msg.author.display_name}") else: await msg.add_reaction(EMOJI_WRONG) game.scores[msg.author] += INCORRECT_SOLN |