generated from sirlilpanda/kicad-project-template-actionless
now it should only create the files once
This commit is contained in:
@@ -203,8 +203,6 @@ def commit_files(files: list[Path], commit_message : str) -> None:
|
|||||||
ret_commit = subprocess.call(f"git commit -m \"{commit_message}\"", shell=True)
|
ret_commit = subprocess.call(f"git commit -m \"{commit_message}\"", shell=True)
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
# find all kicad project files to operate on
|
|
||||||
for path in Path(".").rglob('*.kicad_pro'):
|
|
||||||
k = KicadProject(Path("hardware/poe-lights/poe-lights.kicad_pro"))
|
k = KicadProject(Path("hardware/poe-lights/poe-lights.kicad_pro"))
|
||||||
k.drc_check(report_format = OutputReportType.REPORT)
|
k.drc_check(report_format = OutputReportType.REPORT)
|
||||||
k.erc_check(report_format = OutputReportType.REPORT)
|
k.erc_check(report_format = OutputReportType.REPORT)
|
||||||
|
|||||||
Reference in New Issue
Block a user