Update based off work done in diceshaker.
This commit is contained in:
11
.scripts/post_panel.py
Normal file
11
.scripts/post_panel.py
Normal 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)
|
||||
Reference in New Issue
Block a user