pep8: isort

This commit is contained in:
William Ballenthin
2020-07-02 10:52:05 -06:00
parent 5fda3c467f
commit 1188103d1c
36 changed files with 79 additions and 135 deletions

View File

@@ -13,7 +13,6 @@ import argparse
import capa.rules
logger = logging.getLogger("capafmt")

View File

@@ -6,7 +6,6 @@ Usage:
$ python scripts/lint.py rules/
"""
import os
import os.path
import sys
import string
import hashlib

View File

@@ -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")

View File

@@ -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_"]

View File

@@ -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...