From 5e3e2d3a0ce3a8f5969832c4ed753fc1d384cdf9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:59:15 +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: - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.260 → v0.14.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.260...v0.14.13) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 22.10.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/22.10.0...26.1.0) - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v6.0.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f5a96f4..83e7ddc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,20 @@ fail_fast: true repos: - - repo: https://github.com/charliermarsh/ruff-pre-commit + - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.0.260' + rev: 'v0.14.13' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - - repo: https://github.com/psf/black - rev: 22.10.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-toml From 05f20f3c157cc979a79ac9f6cbabf46235bdb716 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:59:21 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- snapper/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/snapper/utils.py b/snapper/utils.py index 27da7c4..3a5544c 100644 --- a/snapper/utils.py +++ b/snapper/utils.py @@ -7,7 +7,6 @@ def setup_rich_logging(): - """Set logger to rich, allowing for console markup.""" FORMAT = "%(message)s" @@ -37,7 +36,6 @@ def install_rich_tracebacks(show_locals=False): def app_exit(level: int = 0, timeout: int = -1, cleanup_funcs: list = []): - """ Exit function to allow time to read console output if necessary before exit.