Skip to content

Commit 269b1ae

Browse files
committed
adhere to formatting
1 parent 255cfdf commit 269b1ae

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def create_pattern(file_pattern: str) -> str:
124124
--------
125125
String value representing directory path
126126
"""
127-
127+
128128
return os.path.join(self.dataset_path, dir, file_pattern)
129129

130130
# answer_filepath = (glob.glob(pattern("answer_*"), recursive=True))[0]

src/evals.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ def _run_subprocess(
384384
# killed after timeout
385385
return (False, None)
386386
except Exception as err:
387-
self.log.warning(f"error while runing {''.join(commands)}")
387+
self.log.warning(
388+
f"While running {' '.join(commands)}\nError ocurred: {err}"
389+
)
388390
# some other failure
389391
return (False, None)
390392

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import pytest
77

8+
89
def pytest_addoption(parser):
910
parser.addoption("--bucket", action="store", default="verilog-llm-evals")
1011

0 commit comments

Comments
 (0)