-
Notifications
You must be signed in to change notification settings - Fork 92
Update metadatacheck to fit v5.1 #312
base: master
Are you sure you want to change the base?
Conversation
if self.checkDocumentation(alias, self.component.aliases[alias], True, self.component.isGraphicSymbol() or self.component.isPowerSymbol()): | ||
invalid_documentation += 1 | ||
|
||
return invalid_documentation > 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No real reason to keep a counter since the result ultimately goes to a Boolean. But I guess in the future it could be handy and it works now too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All other scripts use counters
I assume at KiCad/kicad-website#446 (comment) you are referring to this script update?
|
I now ran the new script and old script on the current master branch of the symbol lib (Limited to the rules that i changed). There is not really a difference in the reports other than what is expected from combining the rules (S6.3 changed to S6.2, detailed messages changed and if both s6.3 and S6.2 is violated then they are of course under the same header which makes diff think something was added in the original) |
klc update KiCad/kicad-website#446