Skip to content

Commit 16c653f

Browse files
committed
revert fto change
1 parent 71db7f6 commit 16c653f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

codeflash/discovery/functions_to_optimize.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,11 +358,11 @@ def visit_ClassDef(self, node: ast.ClassDef) -> None:
358358
for decorator in body_node.decorator_list
359359
):
360360
self.is_classmethod = True
361-
elif any(
362-
isinstance(decorator, ast.Name) and decorator.id == "staticmethod"
363-
for decorator in body_node.decorator_list
364-
):
365-
self.is_staticmethod = True
361+
# elif any(
362+
# isinstance(decorator, ast.Name) and decorator.id == "staticmethod"
363+
# for decorator in body_node.decorator_list
364+
# ):
365+
# self.is_staticmethod = True
366366
return
367367
else:
368368
# If we have line number info, check if class has a static method with the same line number

0 commit comments

Comments
 (0)