Skip to content

Commit

Permalink
remove unused REFERENCES
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Jan 19, 2024
1 parent ba4f5e9 commit 4cbcb6b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/core_codemods/combine_startswith_endswith.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class CombineStartswithEndswith(SimpleCodemod, NameResolutionMixin):
references=[],
)
change_description = "Use tuple of matches instead of boolean expression"
REFERENCES: list = []

def leave_BooleanOperation(
self, original_node: cst.BooleanOperation, updated_node: cst.BooleanOperation
Expand Down
2 changes: 1 addition & 1 deletion src/core_codemods/fix_mutable_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FixMutableParams(SimpleCodemod):
references=[],
)
change_description = "Replace mutable parameter with `None`."
REFERENCES: list = []

_BUILTIN_TO_LITERAL = {
"list": cst.List(elements=[]),
"dict": cst.Dict(elements=[]),
Expand Down
1 change: 0 additions & 1 deletion src/core_codemods/remove_debug_breakpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class RemoveDebugBreakpoint(SimpleCodemod, NameResolutionMixin, AncestorPatterns
references=[],
)
change_description = "Remove breakpoint call"
REFERENCES: list = []

def leave_Expr(
self,
Expand Down
1 change: 0 additions & 1 deletion src/core_codemods/remove_module_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class RemoveModuleGlobal(SimpleCodemod, NameResolutionMixin):
references=[],
)
change_description = "Remove `global` usage at module level."
REFERENCES: list = []

def leave_Global(
self,
Expand Down
1 change: 0 additions & 1 deletion src/core_codemods/use_set_literal.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class UseSetLiteral(SimpleCodemod, NameResolutionMixin):
references=[],
)
change_description = "Replace sets from lists with set literals"
REFERENCES: list = []

def leave_Call(self, original_node: cst.Call, updated_node: cst.Call):
if not self.filter_by_path_includes_or_excludes(
Expand Down

0 comments on commit 4cbcb6b

Please sign in to comment.