Skip to content

Commit

Permalink
Update cxlc.py to conform to PEP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
aarikpokras authored Dec 12, 2024
1 parent 296e98c commit 41b2183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cxlc.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
whatf = []

for i in str_w:
if (i.startswith("use")):
if (i.startswith("use")):
module = i.replace("use@", "")
whatf.append(module.strip())

Expand Down Expand Up @@ -76,7 +76,7 @@
with open(argv[1], 'r') as f:
w_ph = f.readlines()
for i in w_ph:
if (i.startswith("#include")): # io.cxlbund/io.h
if (i.startswith("#include")):
inc_ = i.replace("#include \"", "").replace("\"", "")
inc = re.sub(".cxlbund.*", "", inc_)
includes.append("use@" + inc)
Expand Down

0 comments on commit 41b2183

Please sign in to comment.