Skip to content

Commit 472d97f

Browse files
Update ruff requirement from ~=0.14 to ~=0.15 (#1181)
* Update ruff requirement from ~=0.14 to ~=0.15 Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.14.0...0.15.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.15.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Simplify challenge ID logging --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mark Harrison <MarkZH@users.noreply.github.com>
1 parent 6bc4218 commit 472d97f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matchmaking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def challenge(self, active_games: set[str], challenge_queue: MULTIPROCESSING_LIS
237237
bot_username, base_time, increment, days, variant, mode = self.choose_opponent()
238238
logger.info(f"Will challenge {bot_username} for a {variant} game.")
239239
challenge_id = self.create_challenge(bot_username, base_time, increment, days, variant, mode) if bot_username else ""
240-
logger.info(f"Challenge id is {challenge_id if challenge_id else 'None'}.")
240+
logger.info(f"Challenge id is {challenge_id or 'None'}.")
241241
self.challenge_id = challenge_id
242242

243243
def discard_challenge(self, challenge_id: str) -> None:

test_bot/test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytest~=9.0
22
pytest-timeout~=2.4
3-
ruff~=0.14
3+
ruff~=0.15
44
mypy~=1.19
55
types-requests~=2.32
66
types-PyYAML~=6.0

0 commit comments

Comments
 (0)