Skip to content

Commit 1a1ee6c

Browse files
[pre-commit.ci] pre-commit autoupdate (#462)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0) - [github.com/asottile/pyupgrade: v3.14.0 → v3.15.0](asottile/pyupgrade@v3.14.0...v3.15.0) - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.0](pre-commit/mirrors-mypy@v1.5.1...v1.6.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1def5d7 commit 1a1ee6c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exclude: ^src/auditwheel/_vendor/
88

99
repos:
1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.4.0
11+
rev: v4.5.0
1212
hooks:
1313
- id: check-builtin-literals
1414
- id: check-added-large-files
@@ -23,7 +23,7 @@ repos:
2323
- id: trailing-whitespace
2424

2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v3.14.0
26+
rev: v3.15.0
2727
hooks:
2828
- id: pyupgrade
2929
args: ["--py38-plus"]
@@ -46,7 +46,7 @@ repos:
4646
- id: flake8
4747

4848
- repo: https://github.com/pre-commit/mirrors-mypy
49-
rev: v1.5.1
49+
rev: v1.6.0
5050
hooks:
5151
- id: mypy
5252
exclude: ^tests/integration/.*/.*$

src/auditwheel/wheel_abi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def get_wheel_elfdata(wheel_fn: str):
6363
full_elftree = {}
6464
nonpy_elftree = {}
6565
full_external_refs = {}
66-
versioned_symbols: dict[str, set[str]] = defaultdict(lambda: set())
66+
versioned_symbols: dict[str, set[str]] = defaultdict(set)
6767
uses_ucs2_symbols = False
6868
uses_PyFPE_jbuf = False
6969

@@ -196,7 +196,7 @@ def get_versioned_symbols(libs):
196196
for path, elf in elf_file_filter(libs.keys()):
197197
# {depname: set(symbol_version)}, e.g.
198198
# {'libc.so.6', set(['GLIBC_2.5','GLIBC_2.12'])}
199-
elf_versioned_symbols = defaultdict(lambda: set())
199+
elf_versioned_symbols = defaultdict(set)
200200
for key, value in elf_find_versioned_symbols(elf):
201201
log.debug("path %s, key %s, value %s", path, key, value)
202202
elf_versioned_symbols[key].add(value)

0 commit comments

Comments
 (0)