diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d8bdc1a..680efd88 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,14 +21,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.1 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.0 + rev: v1.16.1 hooks: - id: mypy exclude: tests/integration/.*/.*|tests/integration/quick_check_numpy.py|tests/unit/test_wheel_abi.py|scripts/calculate_symbol_versions.py diff --git a/pyproject.toml b/pyproject.toml index 07722168..b0b38d91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,3 +122,8 @@ ignore = [ "ISC001", # Conflicts with formatter "PLR", # Design related pylint codes ] + +[tool.ruff.lint.per-file-ignores] +"src/auditwheel/main_lddtree.py" = ["PLC0415"] +"src/auditwheel/main_repair.py" = ["PLC0415"] +"src/auditwheel/main_show.py" = ["PLC0415"]