From 57ac1e65e1964ffe9b1cd1ae90cab166a4d23de8 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sat, 7 Mar 2026 16:27:18 +0000 Subject: [PATCH] ruff: Configure hacking as external linter Change-Id: Ib8efb96bb066a3b981ca236b379003c2b151ca7d Signed-off-by: Stephen Finucane --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 61180b50..11680f6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ show_column_numbers = true show_error_context = true strict = true disable_error_code = ["import-untyped"] -exclude = '(?x)(doc | releasenotes)' +exclude = "(?x)(doc | releasenotes)" [tool.ruff] line-length = 79 @@ -59,3 +59,4 @@ docstring-code-format = true [tool.ruff.lint] select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "UP"] +external = ["H"]