remove type comment

This commit is contained in:
Yacine Elhamer
2023-09-04 11:04:09 +02:00
parent 9ec1bf3e42
commit cfa703eaae
2 changed files with 2 additions and 2 deletions

View File

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

2
rules

Submodule rules updated: 99aefcbae5...d923cf4b8f