mirror of
https://github.com/Horizontal42/netsleuth.git
synced 2026-11-10 22:42:03 +03:00
fix: переместить импорты в начало файла exporter.py (E402)
This commit is contained in:
parent
1e494a16dd
commit
c21fcaa834
1 changed files with 2 additions and 4 deletions
|
|
@ -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 = "▁▂▃▅▇"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue