File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 6
6
- id : black
7
7
8
8
- repo : https://github.com/adamchainz/blacken-docs
9
- rev : v1.12.1
9
+ rev : 1.13.0
10
10
hooks :
11
11
- id : blacken-docs
12
12
additional_dependencies : [black==22.12.0]
13
13
14
14
- repo : https://github.com/pycqa/isort
15
- rev : 5.11.4
15
+ rev : 5.12.0
16
16
hooks :
17
17
- id : isort
18
18
43
43
44
44
# this validates our github workflow files
45
45
- repo : https://github.com/python-jsonschema/check-jsonschema
46
- rev : 0.20 .0
46
+ rev : 0.21 .0
47
47
hooks :
48
48
- id : check-github-workflows
Original file line number Diff line number Diff line change 9
9
10
10
11
11
def _check_no_shutdown_warning (port : int , log : str ) -> bool :
12
- msg = f"WARNING localhost:{ port } :client\.py:[0-9]+ Geometry Service will not be shutdown since it was already running\.\.\." # noqa : E501
12
+ msg = (
13
+ "WARNING localhost:"
14
+ + str (port )
15
+ + r":client\.py:[0-9]+ Geometry Service will not be shutdown since it was already running\.\.\." # noqa : E501
16
+ )
13
17
pattern = re .compile (msg )
14
18
return True if pattern .search (log ) else False
15
19
16
20
17
21
def _check_service_already_running (port : int , log : str ) -> bool :
18
- msg = f"WARNING PyGeometry_global:localinstance\.py:[0-9]+ Service already running at port { port } \.\.\." # noqa : E501
22
+ msg = (
23
+ r"WARNING PyGeometry_global:localinstance\.py:[0-9]+ Service already running at port "
24
+ + str (port )
25
+ + r"\.\.\."
26
+ )
19
27
pattern = re .compile (msg )
20
28
return True if pattern .search (log ) else False
21
29
22
30
23
31
def _check_restarting_service (port : int , log : str ) -> bool :
24
- msg = f"WARNING PyGeometry_global:localinstance\.py:124 Restarting service already running at port { port } \.\.\." # noqa : E501
32
+ msg = (
33
+ r"WARNING PyGeometry_global:localinstance\.py:124 Restarting service already running at port " # noqa : E501
34
+ + str (port )
35
+ + r"\.\.\."
36
+ )
25
37
pattern = re .compile (msg )
26
38
return True if pattern .search (log ) else False
27
39
You can’t perform that action at this time.
0 commit comments