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 66 - id : black
77
88- repo : https://github.com/adamchainz/blacken-docs
9- rev : v1.12.1
9+ rev : 1.13.0
1010 hooks :
1111 - id : blacken-docs
1212 additional_dependencies : [black==22.12.0]
1313
1414- repo : https://github.com/pycqa/isort
15- rev : 5.11.4
15+ rev : 5.12.0
1616 hooks :
1717 - id : isort
1818
4343
4444# this validates our github workflow files
4545- repo : https://github.com/python-jsonschema/check-jsonschema
46- rev : 0.20 .0
46+ rev : 0.21 .0
4747 hooks :
4848 - id : check-github-workflows
Original file line number Diff line number Diff line change 99
1010
1111def _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+ )
1317 pattern = re .compile (msg )
1418 return True if pattern .search (log ) else False
1519
1620
1721def _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+ )
1927 pattern = re .compile (msg )
2028 return True if pattern .search (log ) else False
2129
2230
2331def _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+ )
2537 pattern = re .compile (msg )
2638 return True if pattern .search (log ) else False
2739
You can’t perform that action at this time.
0 commit comments