From 49adb8de0cc3298603b8a3e950caeaed87bcb4fc Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Tue, 29 Mar 2022 13:00:28 -0600 Subject: [PATCH] pep8 --- capa/rules.py | 2 +- tests/test_main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/capa/rules.py b/capa/rules.py index 67256343..11feeaf8 100644 --- a/capa/rules.py +++ b/capa/rules.py @@ -101,7 +101,7 @@ SUPPORTED_FEATURES: Dict[str, Set] = { capa.features.common.Characteristic("embedded pe"), capa.features.common.String, capa.features.common.Format, - }, + }, FUNCTION_SCOPE: { capa.features.common.MatchedRule, capa.features.basicblock.BasicBlock, diff --git a/tests/test_main.py b/tests/test_main.py index 69782fc3..a4ab0551 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -327,7 +327,7 @@ def test_count_bb(z9324d_extractor): def test_instruction_scope(z9324d_extractor): - # .text:004071A4 68 E8 03 00 00 push 3E8h + # .text:004071A4 68 E8 03 00 00 push 3E8h rules = capa.rules.RuleSet( [ capa.rules.Rule.from_yaml( @@ -355,7 +355,7 @@ def test_instruction_scope(z9324d_extractor): def test_instruction_subscope(z9324d_extractor): # .text:00406F60 sub_406F60 proc near # [...] - # .text:004071A4 68 E8 03 00 00 push 3E8h + # .text:004071A4 68 E8 03 00 00 push 3E8h rules = capa.rules.RuleSet( [ capa.rules.Rule.from_yaml(