mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-20 02:18:13 +00:00
Replace mypy by ty (#1619)
This commit is contained in:
1 parent
0d8d5add9d
commit
7333a0c868
53 files changed
+221
-210
No files matched your search
@@ -277,7 +277,7 @@ class CSharpLanguageServer(SolidLanguageServer):
|
||||
if original_name != normalized_name:
|
||||
sel_range = symbol.get("selectionRange")
|
||||
if sel_range:
|
||||
start = sel_range.get("start") # type: ignore
|
||||
start = sel_range.get("start")
|
||||
if start and "line" in start and "character" in start:
|
||||
line = start["line"]
|
||||
char = start["character"]
|
||||
|
||||
Reference in new issue
Block a user