.v5_schlib/checklib.py broken compatibility with KLCRuleBase
087d59de broke the compatibility of .v5_schlib with the KLCRuleBase
class and __init__
method moving the description field to __doc__
instead of inheriting from the init method argument.
The following error/traceback will show when the .v5_schlib/checklib.py
script is ran:
Traceback (most recent call last):
File "checklib.py", line 126, in <module>
rule = rule(component)
File "kicad-library-utils/.v5_schlib/rules/G1_1.py", line 12, in __init__
super(Rule, self).__init__(component, 'Illegal characters in symbol name')
File "kicad-library-utils/.v5_schlib/rules/rule.py", line 85, in __init__
KLCRuleBase.__init__(self, description)
TypeError: __init__() takes 1 positional argument but 2 were given
I know it might not be the priority as v6 development is undergoing but this broke our current CI checks.