From 6adee514105dde2e248ca9a749cc32fc1f7e17c6 Mon Sep 17 00:00:00 2001 From: shashank-elastic <91139415+shashank-elastic@users.noreply.github.com> Date: Wed, 10 Sep 2025 22:24:07 +0530 Subject: [PATCH] Fix Ruff failures (#5083) --- pyproject.toml | 2 +- tests/test_all_rules.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8fb45c7f9..f3f25759c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "detection_rules" -version = "1.3.32" +version = "1.3.33" description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine." readme = "README.md" requires-python = ">=3.12" diff --git a/tests/test_all_rules.py b/tests/test_all_rules.py index 8bc723965..d692dc3e7 100644 --- a/tests/test_all_rules.py +++ b/tests/test_all_rules.py @@ -1293,7 +1293,7 @@ class TestBuildTimeFields(BaseRuleTest): errors = [] for build_field, field_versions in build_fields.items(): - start_ver, end_ver = field_versions + start_ver, _ = field_versions # when a _new_ build time field is introduced, _all_ rules _must_ have a min_stack_version for the stack # version in which the field was introduced. This is because the initial change will result in a hash # change which is different because of the build time fields.