fix: переместить импорты в начало файла exporter.py (E402)

This commit is contained in:
qwen.ai[bot] 2026-08-12 13:11:46 +00:00
parent 1e494a16dd
commit c21fcaa834

View file

@ -1,5 +1,6 @@
from __future__ import annotations
import itertools
import json
import os
import re
@ -7,7 +8,7 @@ from pathlib import Path
from typing import Any
from netsleuth.config import FORMAT_EXTENSIONS
from netsleuth.interpret import overall_verdict
from netsleuth.interpret import bufferbloat_consequence, overall_verdict
from netsleuth.models import Finding, ModuleResult, to_jsonable
SCHEMA_VERSION = 1
@ -104,9 +105,6 @@ def write_report(report: dict[str, Any], artifacts: dict[str, str], logs_dir: Pa
for fmt, text in artifacts.items()
]
import itertools
from netsleuth.interpret import bufferbloat_consequence
SPARK_CHARS = "▁▂▃▅▇"