Skip to content

Commit 7f279ab

Browse files
bai-uipathclaude
andcommitted
fix(harbor): declare SUPPORTS_ATIF as a ClassVar to match harbor 0.23
harbor 0.23.0 annotates BaseAgent.SUPPORTS_ATIF as ClassVar[bool], so the plain bool override fails pyright's reportIncompatibleVariableOverride. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 479663d commit 7f279ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/coder_eval/harbor/agent.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from __future__ import annotations
2121

2222
import shlex
23-
from typing import TYPE_CHECKING
23+
from typing import TYPE_CHECKING, ClassVar
2424

2525
from coder_eval.harbor.agent_paths import AGENT_TASK_YAML_PATH
2626

@@ -62,7 +62,7 @@ class CoderEvalAgent(BaseInstalledAgent):
6262
on PATH there exactly as ``tests/test.sh`` assumes it is for grading.
6363
"""
6464

65-
SUPPORTS_ATIF: bool = True
65+
SUPPORTS_ATIF: ClassVar[bool] = True
6666

6767
@staticmethod
6868
def name() -> str:

0 commit comments

Comments
 (0)