mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 07:28:34 -08:00
pep8: isort
This commit is contained in:
@@ -13,7 +13,6 @@ import argparse
|
||||
|
||||
import capa.rules
|
||||
|
||||
|
||||
logger = logging.getLogger("capafmt")
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ Usage:
|
||||
$ python scripts/lint.py rules/
|
||||
"""
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import string
|
||||
import hashlib
|
||||
|
||||
@@ -7,17 +7,16 @@ example:
|
||||
$ python scripts/migrate-rules.py migration.csv ./rules ./new-rules
|
||||
"""
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import csv
|
||||
import sys
|
||||
import logging
|
||||
import os.path
|
||||
import collections
|
||||
|
||||
import argparse
|
||||
|
||||
import capa.rules
|
||||
|
||||
|
||||
logger = logging.getLogger("migrate-rules")
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ import argparse
|
||||
from scripts.testbed import FREEZE_EXTENSION
|
||||
from capa.features.freeze import main as freeze_features
|
||||
|
||||
|
||||
# only process files with these extensions
|
||||
TARGET_EXTENSIONS = [".mal_", ".exe_", ".dll_", ".sys_"]
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ import sys
|
||||
import json
|
||||
import time
|
||||
import logging
|
||||
|
||||
from collections import defaultdict
|
||||
|
||||
import argparse
|
||||
@@ -19,11 +18,9 @@ import argparse
|
||||
import capa.main
|
||||
import capa.rules
|
||||
import capa.features.freeze
|
||||
|
||||
from scripts.testbed import FNAMES_EXTENSION, FREEZE_EXTENSION
|
||||
from start_ida_export_fimages import export_fimages
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# sorry globals...
|
||||
|
||||
Reference in New Issue
Block a user