mirror of https://github.com/VLSIDA/OpenRAM.git
Fix file setup in code format test
This commit is contained in:
parent
0d616ae072
commit
449c68ccae
|
|
@ -51,7 +51,7 @@ def setup_files(path):
|
|||
files = []
|
||||
for (dir, _, current_files) in os.walk(path):
|
||||
for f in current_files:
|
||||
files.append(os.getenv("OPENRAM_HOME"))
|
||||
files.append(os.path.join(dir, f))
|
||||
nametest = re.compile("\.py$", re.IGNORECASE)
|
||||
select_files = list(filter(nametest.search, files))
|
||||
return select_files
|
||||
|
|
|
|||
Loading…
Reference in New Issue