@@ -168,20 +168,20 @@ def pyls_lint(config: Config, workspace: Workspace, document: Document,
168
168
"silent"
169
169
])
170
170
171
- log .info (f"executing mypy { args = } " )
171
+ log .info (f"executing mypy args={ args } " )
172
172
report , errors , _ = mypy_api .run (args )
173
173
else :
174
174
args = ["run" , "--" ] + args
175
175
176
- log .info (f"executing dmypy { args = } " )
176
+ log .info (f"executing dmypy args={ args } " )
177
177
report , errors , _ = mypy_api .run_dmypy (args )
178
178
179
179
log .debug ("report: \n " + report )
180
180
log .debug ("errors: \n " + errors )
181
181
182
182
diagnostics = []
183
183
for line in report .splitlines ():
184
- log .debug (f"parsing: { line = } " )
184
+ log .debug (f"parsing: line={ 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 = } " )
231
+ log .info (f"init workspace={ 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 = } { configuration = } " )
251
+ log .info (f"mypyConfigFile={ mypyConfigFile } configuration={ configuration } " )
252
252
return configuration
253
253
254
254
0 commit comments