From 97f3ed577e6f4f14e75327c897eca218abde3009 Mon Sep 17 00:00:00 2001 From: Benjamin Bossan Date: Wed, 7 Feb 2024 14:00:13 +0100 Subject: [PATCH] MNT Check only selected directories with ruff (#1446) In PR #1421, ruff was extended to check all directories. This is fine for those directories that come with PEFT. However, developers may have other local directories that they do not want to be checked. Therefore, it is better to list the directories to be checked rather than checking all. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fa22e5db99..85d89d064b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: quality style test docs -check_dirs := . +check_dirs := src tests examples docs scripts docker # Check that source code meets quality standards