Skip to content

Commit

Permalink
fixed ruff complains
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 committed Dec 9, 2024
1 parent c511235 commit 239bdcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/linux_build_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def tool_check_version(name: str, min_version: str) -> bool:


def check_install_nasm(version: str):
if not match("(i[3-6]86|x86_64)$", machine()):
if not match(r"(i[3-6]86|x86_64)$", machine()):
return True
if tool_check_version("nasm", version):
return True
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ lint.extend-per-file-ignores."libheif/**/*.py" = [
"D",
"PERF",
"S",
"SIM905",
]
lint.extend-per-file-ignores."tests/**/*.py" = [
"B009",
Expand Down

0 comments on commit 239bdcd

Please sign in to comment.