[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-16 19:45:49 +00:00
commit ffa16f073f

View file

@ -2072,8 +2072,9 @@ class TestStrixHaloGfxArchDetection:
for path in (_SETUP_PS1_PATH, _INSTALL_PS1_PATH):
source = path.read_text(encoding = "utf-8")
# The regex pattern used to match gfx arches
assert "gfx\\d+" in source or r"gfx\d+" in source, \
f"gfx arch regex not found in {path.name}"
assert (
"gfx\\d+" in source or r"gfx\d+" in source
), f"gfx arch regex not found in {path.name}"
if __name__ == "__main__":