Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Check symbol for duplicate graphic elements (#37) #303

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cpresser
Copy link
Contributor

@cpresser cpresser commented Jun 1, 2019

Introduce new rule S3.9 to check if the symbol has duplicate graphical elements.

This implements the 'SIMPLE' approach mentioned here:
See #37

So far there is no 'written' Rule for KLC yet. If there is some positive feedback for this patch, I can create a PR for that as well.

Introduce new rule S3.9 to check if the symbol has duplicate graphical elements.
@ghost
Copy link

ghost commented Nov 6, 2019

see KiCad/kicad-symbols#2267

@poeschlr
Copy link
Collaborator

The new rule S3.9 would need to be added to the website. Please open a pull request over at the website repo (still on github as far as i know) and link between the two

@cpresser
Copy link
Contributor Author

Here is the PR for the website: KiCad/kicad-website#475

schlib/rules/S3_9.py Outdated Show resolved Hide resolved
schlib/rules/S3_9.py Outdated Show resolved Hide resolved
schlib/rules/S3_9.py Outdated Show resolved Hide resolved
schlib/rules/S3_9.py Outdated Show resolved Hide resolved
Replace C-Style code with more pythonic variants
Rename variables
Use better string-formating
@cpresser
Copy link
Contributor Author

cpresser commented Sep 5, 2020

Thanks for the review, those were all valid points with really help full recommendations. 👍
And sorry for the huge delay - this PR somehow slipped my attention.

@cpresser
Copy link
Contributor Author

cpresser commented Sep 5, 2020

The Website-Merge-Request now lives here: https://gitlab.com/kicad/services/kicad-website/-/merge_requests/475

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants