diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb64e4cd8..899aae8fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,13 +5,13 @@ ci: repos: - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 8.0.0 hooks: - id: isort args: ["--profile", "black", "--filter-files", "buildtest", "tests", "docs"] - repo: https://github.com/psf/black-pre-commit-mirror - rev: '24.3.0' + rev: '26.1.0' hooks: - id: black language_version: python3 diff --git a/buildtest/tools/cpu.py b/buildtest/tools/cpu.py index b12e751f3..3d5d9b362 100644 --- a/buildtest/tools/cpu.py +++ b/buildtest/tools/cpu.py @@ -180,7 +180,7 @@ def _sysfs_topo(): cpuinfo["topology"]["cores"] = sorted(list(cores)) cpuinfo["topology"]["caches"] = [] for cache_type, cpusets in caches.items(): - (cache_level, cache_size, cache_linesize, cache_associativity, num_cpus) = ( + cache_level, cache_size, cache_linesize, cache_associativity, num_cpus = ( cache_type ) c = {