Cleanup: redundant staticmethod use
staticmethod shouldn't be used unless it's necessary, in that case a comment should be included especially when subclassing non-staticmethods from RNA.
This commit is contained in:
@@ -30,7 +30,6 @@ class TIME_HT_editor_buttons(Header):
|
||||
def draw(self, context):
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def draw_header(context, layout):
|
||||
scene = context.scene
|
||||
tool_settings = context.tool_settings
|
||||
|
||||
Reference in New Issue
Block a user