mirror of
https://github.com/tiennm99/serena.git
synced 2026-09-02 22:18:00 +00:00
Add "type: ignore" to untyped inner function
This commit is contained in:
committed by
Dominik Jain
parent
bd68883d27
commit
7ffca9b3cb
@@ -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