@@ -173,15 +173,15 @@ def pyls_lint(config: Config, workspace: Workspace, document: Document,
173
173
else :
174
174
args = ["run" , "--" ] + args
175
175
176
- log .info (f "executing dmypy args= { args } " )
176
+ log .info ("executing dmypy args = %s" , args ")
177
177
report , errors , _ = mypy_api .run_dmypy (args )
178
178
179
179
log .debug ("report:\n %s" , report )
180
180
log .debug ("errors:\n %s" , errors )
181
181
182
182
diagnostics = []
183
183
for line in report .splitlines ():
184
- log .debug (f "parsing: line = %r" , line )
184
+ log .debug ("parsing: line = %r" , line )
185
185
diag = parse_line (line , document )
186
186
if diag :
187
187
diagnostics .append (diag )
@@ -228,7 +228,7 @@ def init(workspace: str) -> Dict[str, str]:
228
228
229
229
"""
230
230
# 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 )
232
232
workspace = workspace .replace ("\\ " , "/" )
233
233
234
234
configuration = {}
@@ -248,7 +248,7 @@ def init(workspace: str) -> Dict[str, str]:
248
248
tmpFile = tempfile .NamedTemporaryFile ('w' , delete = False )
249
249
tmpFile .close ()
250
250
251
- log .info (f "mypyConfigFile = %s configuration = %s" , mypyConfigFile , configuration )
251
+ log .info ("mypyConfigFile = %s configuration = %s" , mypyConfigFile , configuration )
252
252
return configuration
253
253
254
254
0 commit comments