Skip to content

Commit

Permalink
Merge pull request #14 from mantidproject/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
peterfpeterson authored Feb 10, 2025
2 parents 9787cd7 + 140ef1e commit 42bea32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,16 +10,16 @@ repos:
- id: check-merge-conflict
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
rev: v0.9.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 25.1.0
hooks:
- id: black
args: ['--line-length=120']
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
2 changes: 1 addition & 1 deletion scripts/livereduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def restart_and_clear(self):


def sigterm_handler(sig_received, frame): # noqa: ARG001
msg = "received %s(%d)" % (sig_name[sig_received], sig_received)
msg = f"received {sig_name[sig_received]}({sig_received})"
# logger.debug( "SIGTERM received")
logger.info(msg)
LiveDataManager.stop()
Expand Down

0 comments on commit 42bea32

Please sign in to comment.