From 0b0df8a55ba35bfe9dab3b08bf79db158f810b89 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:48:39 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.7.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.7.3) - [github.com/psf/black: 23.11.0 → 24.10.0](https://github.com/psf/black/compare/23.11.0...24.10.0) - [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.7.1...v1.13.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8778da25..a0d285af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,25 +1,25 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - id: check-toml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.6 + rev: v0.7.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 23.11.0 + rev: 24.10.0 hooks: - id: black args: - --safe - --target-version=py37 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.7.1 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: From 15e8e591405ddfacec54e0a60c3fe14b678eb094 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:48:49 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- klaus/ctagscache.py | 1 + tools/dumbtest.py | 1 + 2 files changed, 2 insertions(+) diff --git a/klaus/ctagscache.py b/klaus/ctagscache.py index 0c242b9d..60f0b321 100644 --- a/klaus/ctagscache.py +++ b/klaus/ctagscache.py @@ -26,6 +26,7 @@ this could be optimized in the future. (**) "most likely": currently implemented as "most recently used" """ + import atexit import gzip import os diff --git a/tools/dumbtest.py b/tools/dumbtest.py index 9e5c2c17..4fd24030 100644 --- a/tools/dumbtest.py +++ b/tools/dumbtest.py @@ -1,4 +1,5 @@ """ Very dumb testing tool: Ensures all sites respond with HTTP 2xx/3xx """ + import atexit import re import sys