@@ -168,20 +168,20 @@ def pyls_lint(config: Config, workspace: Workspace, document: Document,
168168 "silent"
169169 ])
170170
171- log .info (f"executing mypy { args = } " )
171+ log .info (f"executing mypy args={ args } " )
172172 report , errors , _ = mypy_api .run (args )
173173 else :
174174 args = ["run" , "--" ] + args
175175
176- log .info (f"executing dmypy { args = } " )
176+ log .info (f"executing dmypy args={ args } " )
177177 report , errors , _ = mypy_api .run_dmypy (args )
178178
179179 log .debug ("report: \n " + report )
180180 log .debug ("errors: \n " + errors )
181181
182182 diagnostics = []
183183 for line in report .splitlines ():
184- log .debug (f"parsing: { line = } " )
184+ log .debug (f"parsing: line={ 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 = } " )
231+ log .info (f"init workspace={ 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 = } { configuration = } " )
251+ log .info (f"mypyConfigFile={ mypyConfigFile } configuration={ configuration } " )
252252 return configuration
253253
254254
0 commit comments