diff --git a/pyproject.toml b/pyproject.toml index 9b2613ef..14e2793e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,7 +125,7 @@ dev = [ "pytest==8.0.0", "pytest-sugar==1.0.0", "pytest-instafail==0.5.0", - "flake8==7.1.1", + "flake8==7.2.0", "flake8-bugbear==24.12.12", "flake8-encodings==0.5.1", "flake8-comprehensions==3.16.0", diff --git a/scripts/capa2yara.py b/scripts/capa2yara.py index 321fa798..0315d60e 100644 --- a/scripts/capa2yara.py +++ b/scripts/capa2yara.py @@ -175,8 +175,6 @@ def convert_rule(rule, rulename, cround, depth): depth += 1 logger.info("recursion depth: %d", depth) - global var_names - def do_statement(s_type, kid): yara_strings = "" yara_condition = ""