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 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.