Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 0 additions & 2 deletions snapper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


def setup_rich_logging():

"""Set logger to rich, allowing for console markup."""

FORMAT = "%(message)s"
Expand Down Expand Up @@ -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.
Expand Down