mirror of
https://github.com/wshobson/agents
synced 2026-06-21 14:13:58 +00:00
revert: undo collateral ruff fixes in unrelated files
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ Production-ready REST API template using FastAPI.
|
||||
Includes pagination, filtering, error handling, and best practices.
|
||||
"""
|
||||
|
||||
from fastapi import FastAPI, HTTPException, Query, Path, status
|
||||
from fastapi import FastAPI, HTTPException, Query, Path, Depends, status
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from fastapi.middleware.trustedhost import TrustedHostMiddleware
|
||||
from fastapi.responses import JSONResponse
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from plugin_eval.corpus import Corpus
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from plugin_eval.engine import EvalEngine
|
||||
from plugin_eval.models import Depth, EvalConfig, PluginEvalResult
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from plugin_eval.layers.harness_portability import (
|
||||
detect_agent_findings,
|
||||
detect_skill_findings,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from pathlib import Path
|
||||
from unittest.mock import patch
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@@ -4,11 +4,15 @@ from pydantic import ValidationError
|
||||
from plugin_eval.models import (
|
||||
AntiPattern,
|
||||
Badge,
|
||||
CompositeResult,
|
||||
Depth,
|
||||
DimensionScore,
|
||||
EloMatchup,
|
||||
EloResult,
|
||||
EvalConfig,
|
||||
LayerResult,
|
||||
PluginEvalResult,
|
||||
StaticSubScore,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from pathlib import Path
|
||||
from unittest.mock import patch
|
||||
from unittest.mock import AsyncMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@@ -2,11 +2,7 @@ from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from plugin_eval.parser import (
|
||||
parse_agent,
|
||||
parse_plugin,
|
||||
parse_skill,
|
||||
)
|
||||
from plugin_eval.parser import ParsedSkill, ParsedAgent, ParsedPlugin, parse_skill, parse_agent, parse_plugin
|
||||
|
||||
|
||||
class TestParseSkill:
|
||||
|
||||
@@ -3,8 +3,8 @@ import pytest
|
||||
from plugin_eval.stats import (
|
||||
bootstrap_ci,
|
||||
clopper_pearson_ci,
|
||||
coefficient_of_variation,
|
||||
cohens_kappa,
|
||||
coefficient_of_variation,
|
||||
wilson_score_ci,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user