mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-05 19:17:43 +00:00
Fix ruff error1 (#81)
* fix_ruff_error1 * fix_ruff_error * fix ruff error * fix ruff error * pass model.py * rename exception class * rename exception class * rename func name generate_feedback * remove prepare args * optimize code * optimize code * fix code error
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Generic, List
|
||||
from typing import TYPE_CHECKING, Generic
|
||||
|
||||
from rdagent.core.experiment import ASpecificExp
|
||||
from rdagent.core.scenario import Scenario
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from rdagent.core.scenario import Scenario
|
||||
|
||||
|
||||
class Developer(ABC, Generic[ASpecificExp]):
|
||||
@@ -18,4 +22,5 @@ class Developer(ABC, Generic[ASpecificExp]):
|
||||
due to it affects the learning process.
|
||||
|
||||
"""
|
||||
raise NotImplementedError("generate method is not implemented.")
|
||||
error_message = "generate method is not implemented."
|
||||
raise NotImplementedError(error_message)
|
||||
|
||||
Reference in New Issue
Block a user