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
|
pass
|
||||||
|
|
||||||
class DefaultDatabaseValues():
|
class DefaultDatabaseValues():
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
instance = None
|
instance = None
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
class Enum():
|
class Enum():
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getTypes(cls):
|
def getTypes(cls):
|
||||||
for stuff in cls.__dict__:
|
for stuff in cls.__dict__:
|
||||||
|
|||||||
@@ -42,7 +42,8 @@ class ModifiedAttributeDict(collections.MutableMapping):
|
|||||||
OVERRIDES = False
|
OVERRIDES = False
|
||||||
|
|
||||||
class CalculationPlaceholder():
|
class CalculationPlaceholder():
|
||||||
pass
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
def __init__(self, fit=None, parent=None):
|
def __init__(self, fit=None, parent=None):
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
|
|||||||
@@ -44,6 +44,9 @@ except ImportError:
|
|||||||
from utils.compat import OrderedDict
|
from utils.compat import OrderedDict
|
||||||
|
|
||||||
class ImplantLocation(Enum):
|
class ImplantLocation(Enum):
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
FIT = 0
|
FIT = 0
|
||||||
CHARACTER = 1
|
CHARACTER = 1
|
||||||
|
|
||||||
|
|||||||
@@ -30,12 +30,18 @@ import logging
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
class State(Enum):
|
class State(Enum):
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
OFFLINE = -1
|
OFFLINE = -1
|
||||||
ONLINE = 0
|
ONLINE = 0
|
||||||
ACTIVE = 1
|
ACTIVE = 1
|
||||||
OVERHEATED = 2
|
OVERHEATED = 2
|
||||||
|
|
||||||
class Slot(Enum):
|
class Slot(Enum):
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
# These are self-explanatory
|
# These are self-explanatory
|
||||||
LOW = 1
|
LOW = 1
|
||||||
MED = 2
|
MED = 2
|
||||||
@@ -55,6 +61,9 @@ class Slot(Enum):
|
|||||||
F_HEAVY = 12
|
F_HEAVY = 12
|
||||||
|
|
||||||
class Hardpoint(Enum):
|
class Hardpoint(Enum):
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
NONE = 0
|
NONE = 0
|
||||||
MISSILE = 1
|
MISSILE = 1
|
||||||
TURRET = 2
|
TURRET = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user