Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

fix(ci): make ruff resolvable from the repo root

dextmorgn61f711264816
diff --git a/pyproject.toml b/pyproject.toml
index cbf926d0..86c68639 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,6 +28,12 @@ flowsint-types = { workspace = true }
flowsint-enrichers = { workspace = true }
flowsint-api = { workspace = true }
+# `make lint`/`lint-fix` run `uv run ruff` from the repo root (not per-package
+# like typecheck does), so ruff has to be resolvable from the root project's
+# own environment too, not just each workspace member's dev group.
+[dependency-groups]
+dev = ["ruff>=0.16,<1.0"]
+
# Single config for the whole workspace: ruff walks up from any file being
# linted until it finds a pyproject.toml with a [tool.ruff] table, so this
# root section applies to all four packages — no need to duplicate it the
diff --git a/uv.lock b/uv.lock
index 9b523a9b..81b808c7 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1047,6 +1047,11 @@ dependencies = [
{ name = "python-multipart" },
]
+[package.dev-dependencies]
+dev = [
+ { name = "ruff" },
+]
+
[package.metadata]
requires-dist = [
{ name = "docker", specifier = ">=7.1.0,<8.0.0" },
@@ -1058,6 +1063,9 @@ requires-dist = [
{ name = "python-multipart", specifier = ">=0.0.27,<0.1.0" },
]
+[package.metadata.requires-dev]
+dev = [{ name = "ruff", specifier = ">=0.16,<1.0" }]
+
[[package]]
name = "flowsint-api"
version = "1.2.8"