Skip to content

Commit

Permalink
fix(orfs): remove special handling of DRC error Pin.f.M5
Browse files Browse the repository at this point in the history
  • Loading branch information
htfab committed Oct 19, 2024
1 parent dcab9fc commit a8dc21d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions project.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,10 +721,9 @@ def run_drc(self):
drc_ok = True
for line in f:
line = line.strip()
if m := re.match("<category>'([^']*)'</category>", line):
if m[1] != "Pin.f.M5":
drc_ok = False
break
if re.match("<category>'([^']*)'</category>", line):
drc_ok = False
break
if drc_ok:
logging.info("DRC passed")
else:
Expand Down

0 comments on commit a8dc21d

Please sign in to comment.