Skip to content

Commit 6f18d46

Browse files
committed
Pyproject fixes
1 parent bf1f9a5 commit 6f18d46

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "detection_rules"
33
version = "1.2.9"
44
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."
55
readme = "README.md"
6-
requires-python = ">=3.13"
6+
requires-python = ">=3.12"
77
license = {file = "LICENSE.txt"}
88
keywords = ["Detection Rules", "Continuous Monitoring", "Data Protection", "Elastic", "Elastic Endgame", "Endpoint Security"]
99
classifiers = [
@@ -80,9 +80,17 @@ filterwarnings = [
8080
[tool.ruff]
8181
line-length = 120
8282
indent-width = 4
83-
include = ["pyproject.toml", "detection_rules/**/*.py"]
83+
include = [
84+
"pyproject.toml",
85+
"detection_rules/**/*.py",
86+
"hunting/**/*.py",
87+
]
8488

8589
[tool.pyright]
90+
include = [
91+
"detection_rules/",
92+
"hunting/",
93+
]
8694
reportMissingTypeStubs = true
8795
reportUnusedCallResult = "error"
8896
typeCheckingMode = "strict"

0 commit comments

Comments
 (0)