@@ -173,15 +173,15 @@ def pyls_lint(config: Config, workspace: Workspace, document: Document,
173173 else :
174174 args = ["run" , "--" ] + args
175175
176- log .info (f "executing dmypy args= { args } " )
176+ log .info ("executing dmypy args = %s" , args ")
177177 report , errors , _ = mypy_api .run_dmypy (args )
178178
179179 log .debug ("report:\n %s" , report )
180180 log .debug ("errors:\n %s" , errors )
181181
182182 diagnostics = []
183183 for line in report .splitlines ():
184- log .debug (f "parsing: line = %r" , line )
184+ log .debug ("parsing: line = %r" , line )
185185 diag = parse_line (line , document )
186186 if diag :
187187 diagnostics .append (diag )
@@ -228,7 +228,7 @@ def init(workspace: str) -> Dict[str, str]:
228228
229229 """
230230 # On windows the path contains \\ on linux it contains / all the code works with /
231- log .info (f "init workspace = %s" , workspace )
231+ log .info ("init workspace = %s" , workspace )
232232 workspace = workspace .replace ("\\ " , "/" )
233233
234234 configuration = {}
@@ -248,7 +248,7 @@ def init(workspace: str) -> Dict[str, str]:
248248 tmpFile = tempfile .NamedTemporaryFile ('w' , delete = False )
249249 tmpFile .close ()
250250
251- log .info (f "mypyConfigFile = %s configuration = %s" , mypyConfigFile , configuration )
251+ log .info ("mypyConfigFile = %s configuration = %s" , mypyConfigFile , configuration )
252252 return configuration
253253
254254
0 commit comments