We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d738e58 commit d65f4daCopy full SHA for d65f4da
1 file changed
repology/parsers/parsers/luarocks.py
@@ -38,7 +38,7 @@ def _parse_data(data: str) -> dict[str, Any]:
38
39
# mypy: Call to untyped function "Empty" in typed context
40
# srsly? why only Empty, why not other pyparsing classes? how can I fix it?
41
- table = lcur + (dict_table | array_table | Empty().setParseAction(lambda s, l, t: [None])) + rcur # type: ignore
+ table = lcur + (dict_table | array_table | Empty().setParseAction(lambda s, l, t: [None])) + rcur
42
value << (qstring | table)
43
44
root = ZeroOrMore(keyval).setParseAction(lambda s, l, t: {k: v for k, v in t})
0 commit comments