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/events/trivianight/trivianight.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/events/trivianight/trivianight.py')
| -rw-r--r-- | bot/exts/events/trivianight/trivianight.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/trivianight/trivianight.py b/bot/exts/events/trivianight/trivianight.py index f90d32e0..e0db45d8 100644 --- a/bot/exts/events/trivianight/trivianight.py +++ b/bot/exts/events/trivianight/trivianight.py @@ -90,7 +90,7 @@ class TriviaNightCog(commands.Cog): try: serialized_json = loads(json_text) except JSONDecodeError as error: - raise commands.BadArgument(f"Looks like something went wrong:\n{str(error)}") + raise commands.BadArgument(f"Looks like something went wrong:\n{error!s}") self.game = TriviaNightGame(serialized_json) self.question_closed = asyncio.Event() |