From b89cf55645445f979ed76a652baddeb7f18d042b Mon Sep 17 00:00:00 2001 From: Alexander Myasoedov Date: Sun, 18 Oct 2026 19:49:28 +0300 Subject: [PATCH] perf(harness): lazy import httpx, bump black to 26.10.1 for PEP 810 syntax --- .pre-commit-config.yaml | 2 +- agentic_security_harness/deciders.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69cd5ed..654932f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: args: [--py314-plus] - repo: https://github.com/psf/black - rev: 26.3.1 + rev: 26.10.1 hooks: - id: black language_version: python3.15 diff --git a/agentic_security_harness/deciders.py b/agentic_security_harness/deciders.py index eb848f2..b961812 100644 --- a/agentic_security_harness/deciders.py +++ b/agentic_security_harness/deciders.py @@ -2,12 +2,12 @@ import json import os - -import httpx from dataclasses import dataclass from agentic_security_harness.policy import Action +lazy import httpx + @dataclass(frozen=True) class Decision: