mirror of
https://github.com/mandiant/capa.git
synced 2026-07-11 22:51:52 -07:00
features: cleanup mypy checking
This commit is contained in:
@@ -233,9 +233,8 @@ class Substring(String):
|
||||
return Result(False, _MatchedSubstring(self, {}), [])
|
||||
|
||||
def __str__(self):
|
||||
v = self.value
|
||||
assert isinstance(v, str)
|
||||
return "substring(%s)" % v
|
||||
assert isinstance(self.value, str)
|
||||
return "substring(%s)" % self.value
|
||||
|
||||
|
||||
class _MatchedSubstring(Substring):
|
||||
|
||||
Reference in New Issue
Block a user