From 46c2389891cb09c1c5373c5920991c9149585ee5 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 4 Aug 2024 09:50:02 -0400 Subject: [PATCH] chore: make sure local ruff runs don't touch vendored (#618) Signed-off-by: Henry Schreiner --- pyproject.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1f7784eb..45628b05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,11 +68,6 @@ exclude = [ "**/__pycache__", ] -[tool.black] -extend-exclude = ''' -^/src/wheel/vendored/ -''' - [tool.pytest.ini_options] minversion = "6.0" addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] @@ -91,6 +86,9 @@ omit = ["*/vendored/*"] [tool.coverage.report] show_missing = true +[tool.ruff] +extend-exclude = ["src/wheel/vendored"] + [tool.ruff.lint] extend-select = [ "B", # flake8-bugbear