fix ruff issues

This commit is contained in:
Willi Ballenthin
2023-07-06 17:49:40 +02:00
parent adbfb8db06
commit 47074fd129
42 changed files with 62 additions and 108 deletions

View File

@@ -17,7 +17,6 @@ See the License for the specific language governing permissions and limitations
"""
import os
import sys
import time
import logging
import argparse

View File

@@ -2,7 +2,7 @@
import json
import collections
from typing import Any, Dict
from typing import Any, Dict, Set
import capa.main
import capa.rules
@@ -13,7 +13,6 @@ import capa.render.utils as rutils
import capa.render.default
import capa.render.result_document as rd
import capa.features.freeze.features as frzf
from capa.engine import *
from capa.features.common import OS_AUTO, FORMAT_AUTO

View File

@@ -43,7 +43,7 @@ import capa.engine
import capa.helpers
import capa.features.insn
from capa.rules import Rule, RuleSet
from capa.features.common import OS_AUTO, FORMAT_PE, FORMAT_DOTNET, String, Feature, Substring
from capa.features.common import OS_AUTO, String, Feature, Substring
from capa.render.result_document import RuleMetadata
logger = logging.getLogger("lint")