mirror of
https://github.com/mandiant/capa.git
synced 2025-12-18 02:09:17 -08:00
introduce flake8-todos linter
This commit is contained in:
@@ -142,7 +142,6 @@ def main(argv=None):
|
||||
|
||||
if args.function:
|
||||
if args.format == "freeze":
|
||||
# TODO fix
|
||||
function_handles = tuple(filter(lambda fh: fh.address == args.function, function_handles))
|
||||
else:
|
||||
function_handles = tuple(filter(lambda fh: format_address(fh.address) == args.function, function_handles))
|
||||
|
||||
Reference in New Issue
Block a user