mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 18:16:10 +00:00
Add "type: ignore" to untyped inner function
This commit is contained in:
1 parent
bd68883d27
commit
7ffca9b3cb
1 file changed
+1
-1
@@ -74,7 +74,7 @@ class JetBrainsPluginClient:
|
||||
"""
|
||||
to_snake_case = lambda s: "".join(["_" + c.lower() if c.isupper() else c for c in s])
|
||||
|
||||
def convert(x):
|
||||
def convert(x): # type: ignore
|
||||
if isinstance(x, dict):
|
||||
return {to_snake_case(k): convert(v) for k, v in x.items()}
|
||||
elif isinstance(x, list):
|
||||
|
||||
Reference in new issue
Block a user