From 431e07560271055eec97039cc57aad0725f500ba Mon Sep 17 00:00:00 2001 From: correctmost <134317971+correctmost@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:49:50 -0400 Subject: [PATCH] Use extend-exclude instead of exclude in ruff config The ruff docs recommend using extend-exclude for custom paths. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index db65a76d97..7c7e29683a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,7 +98,7 @@ ignore_missing_imports = true [tool.ruff] target-version = "py39" -exclude = ["tests/testdata/"] +extend-exclude = ["tests/testdata/"] # ruff is less lenient than pylint and does not make any exceptions # (for docstrings, strings and comments in particular).