Skip to content

Commit 9f49277

Browse files
authored
Merge pull request #148 from libtcod/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents fd5cdd7 + bcbd672 commit 9f49277

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: fix-byte-order-marker
1616
- id: detect-private-key
1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.2.1
18+
rev: v0.2.2
1919
hooks:
2020
- id: ruff
2121
args: [--fix-only, --exit-non-zero-on-fix]

tests/test_sdl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_sdl_window(uses_window: None) -> None:
2323
assert window.title == sys.argv[0]
2424
window.title = "Title"
2525
assert window.title == "Title"
26-
assert window.opacity == 1.0 # noqa: PLR2004
26+
assert window.opacity == 1.0
2727
window.position = window.position
2828
window.fullscreen = window.fullscreen
2929
window.resizable = window.resizable

0 commit comments

Comments
 (0)