From cfa703eaae619428f06d2b656c5210c499d43aa7 Mon Sep 17 00:00:00 2001 From: Yacine Elhamer Date: Mon, 4 Sep 2023 11:04:09 +0200 Subject: [PATCH] remove type comment --- capa/engine.py | 2 +- rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/capa/engine.py b/capa/engine.py index 8ae36d3e..7e6d66f2 100644 --- a/capa/engine.py +++ b/capa/engine.py @@ -304,7 +304,7 @@ def match(rules: List["capa.rules.Rule"], features: FeatureSet, addr: Address) - other strategies can be imagined that match differently; implement these elsewhere. specifically, this routine does "top down" matching of the given rules against the feature set. """ - results = collections.defaultdict(list) # type: MatchResults + results: MatchResults = collections.defaultdict(list) # copy features so that we can modify it # without affecting the caller (keep this function pure) diff --git a/rules b/rules index 99aefcba..d923cf4b 160000 --- a/rules +++ b/rules @@ -1 +1 @@ -Subproject commit 99aefcbae5a1704949933cc38afe077a0ccd273c +Subproject commit d923cf4b8f22936e0fde88e490ebf2c02a37f91f