Fixed some pylint issues and whitelisted some

This commit is contained in:
Markus Lampert
2019-11-01 14:41:45 -07:00
parent db1f97b16e
commit 9910600799
13 changed files with 39 additions and 31 deletions

View File

@@ -311,6 +311,7 @@ class AttributePrototype(PathSetupSheetOpPrototype.OpPrototype):
class ToolBitFactory(object):
def CreateFromAttrs(self, attrs, name='ToolBit'):
# pylint: disable=protected-access
obj = Factory.Create(name, attrs['shape'])
obj.Label = attrs['name']
params = attrs['parameter']