Skip to content

Commit 8020386

Browse files
[pre-commit.ci] pre-commit autoupdate (#673)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.15.5](astral-sh/ruff-pre-commit@v0.14.11...v0.15.5) - [github.com/zizmorcore/zizmor-pre-commit: v1.20.0 → v1.23.1](zizmorcore/zizmor-pre-commit@v1.20.0...v1.23.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: use codecov environment --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mayeut <mayeut@users.noreply.github.com>
1 parent 9943e8f commit 8020386

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
name: CPython ${{ matrix.python }} ${{ matrix.platform[0] }} on ${{ matrix.platform[1] }}
5353
needs: test-dist
5454
runs-on: ${{ matrix.platform[1] }}
55+
environment: codecov
5556
permissions:
5657
contents: read
5758
strategy:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: trailing-whitespace
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.14.11
24+
rev: v0.15.5
2525
hooks:
2626
- id: ruff-check
2727
args: ["--fix", "--show-fixes"]
@@ -42,6 +42,6 @@ repos:
4242
- types-requests
4343

4444
- repo: https://github.com/zizmorcore/zizmor-pre-commit
45-
rev: v1.20.0
45+
rev: v1.23.1
4646
hooks:
4747
- id: zizmor

src/auditwheel/lddtree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def _get_platform(elf: ELFFile) -> Platform:
108108
("EM_S390", 64, False): Architecture.s390x,
109109
("EM_ARM", 32, True): Architecture.armv7l,
110110
("EM_LOONGARCH", 64, True): Architecture.loongarch64,
111-
}.get((elf_machine, elf_class, elf_little_endian), None)
111+
}.get((elf_machine, elf_class, elf_little_endian))
112112
ext_arch: Architecture | None = None
113113
error_msg: str | None = None
114114
flags = elf["e_flags"]

0 commit comments

Comments
 (0)