Fix file setup in code format test

This commit is contained in:
Eren Dogan 2022-07-22 18:11:14 +03:00
parent 0d616ae072
commit 449c68ccae
1 changed files with 1 additions and 1 deletions

View File

@ -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