Some more pylint warning cleanup

This commit is contained in:
Markus Lampert
2019-06-23 18:21:08 -07:00
parent 6f52808e91
commit 64bd8105a6
3 changed files with 53 additions and 36 deletions

View File

@@ -44,6 +44,8 @@ def translate(context, text, disambig=None):
return QtCore.QCoreApplication.translate(context, text, disambig)
class StockType:
# pylint: disable=no-init
NoStock = 'None'
FromBase = 'FromBase'
CreateBox = 'CreateBox'
@@ -121,6 +123,12 @@ class StockFromBase(Stock):
PathLog.track(obj.Label, base.Label)
obj.Proxy = self
# debugging aids
self.origin = None
self.length = None
self.width = None
self.height = None
def __getstate__(self):
return None
def __setstate__(self, state):