Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Masara committed Nov 10, 2024
1 parent 9ba8221 commit ee06dc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/safeds_stubgen/api_analyzer/_ast_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def __init__(
aliases: dict[str, set[str]],
type_source_preference: TypeSourcePreference,
type_source_warning: TypeSourceWarning,
is_test_run: bool = False,
) -> None:
self.docstring_parser: AbstractDocstringParser = docstring_parser
self.type_source_preference = type_source_preference
Expand All @@ -70,7 +69,6 @@ def __init__(
self.mypy_file: mp_nodes.MypyFile | None = None
# We gather type var types used as a parameter type in a function
self.type_var_types: set[sds_types.TypeVarType] = set()
self.is_test_run = is_test_run

def enter_moduledef(self, node: mp_nodes.MypyFile) -> None:
self.mypy_file = node
Expand Down
1 change: 0 additions & 1 deletion src/safeds_stubgen/api_analyzer/_get_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def get_api(
aliases=aliases,
type_source_preference=type_source_preference,
type_source_warning=type_source_warning,
is_test_run=is_test_run,
)
walker = ASTWalker(handler=callable_visitor)

Expand Down

0 comments on commit ee06dc2

Please sign in to comment.