Skip to content

Commit f86f233

Browse files
committed
fixed function arguments not conforming to enforced typing
1 parent af10501 commit f86f233

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/commands/v2/persistent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def invalid_models_to_diagnostics(
535535
) -> Dict[Path, List[lsp.Diagnostic]]:
536536
result: Dict[Path, List[lsp.Diagnostic]] = {}
537537
for model in invalid_models:
538-
result.setdefault(model.path, []).append(invalid_model_to_diagnostic(model))
538+
result.setdefault(Path(model.path), []).append(invalid_model_to_diagnostic(model))
539539
# LOG.info(f"invalid_models_to_diagnostics(): result = {result}")
540540
return result
541541

client/commands/v2/pysa_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
LOG: logging.Logger = logging.getLogger(__name__)
3737

38-
PYSA_HANDLER_OBJ = None
38+
PYSA_HANDLER_OBJ: None
3939

4040

4141
class PysaServer:

0 commit comments

Comments
 (0)