Commit b87e7e9e authored by Manuel Christlieb's avatar Manuel Christlieb

fix: [useless-object-inheritance] Classes 'StoredState' ans 'State' inherits...

fix: [useless-object-inheritance] Classes 'StoredState' ans 'State' inherits from object, can be safely removed from bases in python3
parent 2675590f
......@@ -3,7 +3,7 @@ import tempfile
import os
class StoredState(object):
class StoredState:
def __init__(self, state):
self.state = state
if not self.state.stored_name is None:
......@@ -32,7 +32,7 @@ class StoredState(object):
return self.file_handle.name
class State(object):
class State:
KEYS = ('project_path', 'run_path', 'taskfiles', 'configfiles', 'config', 'args', 'stored_name')
taskfiles = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment