Skip to content

Commit 42bea32

Browse files
Merge pull request #14 from mantidproject/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 9787cd7 + 140ef1e commit 42bea32

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -10,16 +10,16 @@ repos:
1010
- id: check-merge-conflict
1111
- id: end-of-file-fixer
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.5.2
13+
rev: v0.9.4
1414
hooks:
1515
- id: ruff
1616
args: [--fix, --exit-non-zero-on-fix]
1717
- repo: https://github.com/psf/black
18-
rev: 24.4.2
18+
rev: 25.1.0
1919
hooks:
2020
- id: black
2121
args: ['--line-length=120']
2222
- repo: https://github.com/codespell-project/codespell
23-
rev: v2.3.0
23+
rev: v2.4.1
2424
hooks:
2525
- id: codespell

scripts/livereduce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def restart_and_clear(self):
101101

102102

103103
def sigterm_handler(sig_received, frame): # noqa: ARG001
104-
msg = "received %s(%d)" % (sig_name[sig_received], sig_received)
104+
msg = f"received {sig_name[sig_received]}({sig_received})"
105105
# logger.debug( "SIGTERM received")
106106
logger.info(msg)
107107
LiveDataManager.stop()

0 commit comments

Comments
 (0)