fix(lint): resolve remaining ruff violations in PR #11037
CI / push-validation (pull_request) Successful in 43s
CI / helm (pull_request) Successful in 51s
CI / build (pull_request) Successful in 1m18s
CI / lint (pull_request) Successful in 1m22s
CI / quality (pull_request) Successful in 1m35s
CI / typecheck (pull_request) Successful in 1m47s
CI / security (pull_request) Successful in 2m4s
CI / integration_tests (pull_request) Successful in 4m12s
CI / unit_tests (pull_request) Successful in 6m49s
CI / docker (pull_request) Successful in 2m1s
CI / coverage (pull_request) Successful in 12m34s
CI / status-check (pull_request) Successful in 4s
test

F401: Remove unused datetime imports (UTC, datetime) from
  features/steps/invariant_model_steps.py and robot/helper_invariant_model.py
  (auto-populated timestamps removed explicit values per B2 fix).

RUF022: Sort InvariantModel alphabetically in __all__ within
  src/cleveragents/infrastructure/database/__init__.py.

All CI lint violations resolved. Closes review blockers from #11037.
This commit is contained in:
2026-05-16 16:51:59 +00:00
parent eba7f8794d
commit 18a0d6e1f4
3 changed files with 1 additions and 3 deletions
-1
View File
@@ -7,7 +7,6 @@ querying by is_active, and schema validation.
from __future__ import annotations
import uuid
from datetime import UTC, datetime
from behave import given, then, when # type: ignore[import-untyped]
from behave.runner import Context # type: ignore[import-untyped]
-1
View File
@@ -4,7 +4,6 @@ from __future__ import annotations
import sys
import uuid
from datetime import UTC, datetime
from pathlib import Path
# Ensure src is importable when run from workspace root
@@ -98,8 +98,8 @@ __all__ = [
"DuplicateSkillError",
"DuplicateToolError",
"DuplicateValidationAttachmentError",
"InvariantModel",
"InvalidToolTypeError",
"InvariantModel",
"LifecycleActionModel",
"LifecyclePlanModel",
"LifecyclePlanRepository",