Update based off work done in diceshaker.

This commit is contained in:
ac
2023-05-11 11:38:56 +10:00
parent 95d9e1ef85
commit d1307c4e3d
6 changed files with 142 additions and 159 deletions

11
.scripts/post_panel.py Normal file
View File

@@ -0,0 +1,11 @@
import json
import sys
proj = sys.argv[1]
json_file = open(proj)
json_str = json_file.read()
d = json.loads(json_str)
d["board"]["design_settings"]["rule_severities"]["lib_footprint_issues"] = "ignore"
d["board"]["design_settings"]["rule_severities"]["lib_footprint_mismatch"] = "ignore"
with open(proj, mode="w") as json_file:
json.dump(d, json_file, indent=2)