Skip to content

Commit 10435ce

Browse files
committed
Fix class_eval linting errors
1 parent b4c7344 commit 10435ce

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/inspect_evals/class_eval/class_eval.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@ def class_eval(few_shot: int = 1, few_shot_seed: int = 42) -> Task:
4141
"""Inspect Task implementation of ClassEval.
4242
4343
Args:
44-
k_shot (int): The number of few shots to include.
45-
k_shot_seed (int): The seed for generating few shots.
46-
solver (Solver): The solver to use for this evaluation. Defaults to the default solver.
47-
instruction_prompt (String): The prompt to prepend to the code problem.
48-
scorer (Scorer): The scorer to use for this evaluation. Defaults to the default scorer.
44+
few_shot (int): The number of few shots to include.
45+
few_shot_seed (int): The seed for generating few shots.
4946
"""
5047
dataset = hf_dataset(
5148
path="FudanSELab/ClassEval",

tests/class_eval/test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def add(self, x, y):
9595
```python
9696
print("Hello, World!")```
9797
Test text
98-
"""
98+
""" # noqa: W291
9999

100100
sample_code = r"""print("Hello, World!")"""
101101

0 commit comments

Comments
 (0)