Add __init__ to classes missing it
Mostly just to shut pyCharm up, but it's good practice.
This commit is contained in:
@@ -24,6 +24,9 @@ class ImportError(Exception):
|
||||
pass
|
||||
|
||||
class DefaultDatabaseValues():
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
instance = None
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
class Enum():
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def getTypes(cls):
|
||||
for stuff in cls.__dict__:
|
||||
|
||||
@@ -42,7 +42,8 @@ class ModifiedAttributeDict(collections.MutableMapping):
|
||||
OVERRIDES = False
|
||||
|
||||
class CalculationPlaceholder():
|
||||
pass
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def __init__(self, fit=None, parent=None):
|
||||
self.parent = parent
|
||||
|
||||
@@ -44,6 +44,9 @@ except ImportError:
|
||||
from utils.compat import OrderedDict
|
||||
|
||||
class ImplantLocation(Enum):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
FIT = 0
|
||||
CHARACTER = 1
|
||||
|
||||
|
||||
@@ -30,12 +30,18 @@ import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class State(Enum):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
OFFLINE = -1
|
||||
ONLINE = 0
|
||||
ACTIVE = 1
|
||||
OVERHEATED = 2
|
||||
|
||||
class Slot(Enum):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
# These are self-explanatory
|
||||
LOW = 1
|
||||
MED = 2
|
||||
@@ -55,6 +61,9 @@ class Slot(Enum):
|
||||
F_HEAVY = 12
|
||||
|
||||
class Hardpoint(Enum):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
NONE = 0
|
||||
MISSILE = 1
|
||||
TURRET = 2
|
||||
|
||||
Reference in New Issue
Block a user