Skip to content

Commit

Permalink
MNT Check only selected directories with ruff
Browse files Browse the repository at this point in the history
In PR huggingface#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.
  • Loading branch information
BenjaminBossan committed Feb 7, 2024
1 parent fc78a24 commit bdfabc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit bdfabc7

Please sign in to comment.