File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v4.6 .0
3
+ rev : v5.0 .0
4
4
hooks :
5
5
- id : trailing-whitespace
6
6
- id : end-of-file-fixer
@@ -10,16 +10,16 @@ repos:
10
10
- id : check-merge-conflict
11
11
- id : end-of-file-fixer
12
12
- repo : https://github.com/astral-sh/ruff-pre-commit
13
- rev : v0.5.2
13
+ rev : v0.9.4
14
14
hooks :
15
15
- id : ruff
16
16
args : [--fix, --exit-non-zero-on-fix]
17
17
- repo : https://github.com/psf/black
18
- rev : 24.4.2
18
+ rev : 25.1.0
19
19
hooks :
20
20
- id : black
21
21
args : ['--line-length=120']
22
22
- repo : https://github.com/codespell-project/codespell
23
- rev : v2.3.0
23
+ rev : v2.4.1
24
24
hooks :
25
25
- id : codespell
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def restart_and_clear(self):
101
101
102
102
103
103
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 } )"
105
105
# logger.debug( "SIGTERM received")
106
106
logger .info (msg )
107
107
LiveDataManager .stop ()
You can’t perform that action at this time.
0 commit comments