Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #303

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions .github/workflows/analysis-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ jobs:
python-version: '3.12'

- name: Install Libheif
run: |
brew update
brew install libheif
brew upgrade libheif
run: brew install libheif

- name: Install from source
run: python3 -m pip install ".[dev]" wheel setuptools
Expand Down Expand Up @@ -148,10 +145,7 @@ jobs:
python-version: '3.10'

- name: Install Libheif
run: |
brew update
brew install libheif
brew upgrade libheif
run: brew install libheif

- name: Install from source
run: python3 -m pip -v install ".[dev]"
Expand Down Expand Up @@ -188,10 +182,7 @@ jobs:
python-version: '3.11'

- name: Install Libheif
run: |
brew update
brew install libheif
brew upgrade libheif
run: brew install libheif

- name: Install from source
run: python3 -m pip -v install ".[dev]"
Expand Down Expand Up @@ -391,10 +382,7 @@ jobs:
python-version: '3.12'

- name: Install Libheif
run: |
brew update
brew install libheif
brew upgrade libheif
run: brew install libheif

- name: Install from source
run: |
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ repos:
- id: black

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.4.3
rev: v2.5.0
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
rev: v0.8.1
hooks:
- id: ruff

Expand Down
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
Loading