File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ # mypy: disable-error-code=attr-defined
2+
13import ast
24import importlib .metadata as importlib_metadata
35from typing import Any , Generator , Tuple
@@ -15,7 +17,7 @@ def __init__(self, tree: ast.AST) -> None:
1517 self ._tree = tree
1618
1719 @classmethod
18- def add_options (cls , parser ) : # noqa: D102
20+ def add_options (cls , parser : Any ) -> None : # noqa: D102
1921 parser .add_option (
2022 '--style' ,
2123 action = 'store' ,
@@ -196,7 +198,7 @@ def add_options(cls, parser): # noqa: D102
196198 )
197199
198200 @classmethod
199- def parse_options (cls , options ) : # noqa: D102
201+ def parse_options (cls , options : Any ) -> None : # noqa: D102
200202 cls .type_hints_in_signature = options .type_hints_in_signature
201203 cls .type_hints_in_docstring = options .type_hints_in_docstring
202204 cls .arg_type_hints_in_signature = options .arg_type_hints_in_signature
You can’t perform that action at this time.
0 commit comments