Skip to main content

Don’t print the path to ruff

ID
68f6582
date
2025-04-23 08:44:26+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
94d118b
message
Don't print the path to `ruff`
changed files
1 file, 1 addition, 1 deletion

Changed files

python/pyfmt (857) → python/pyfmt (868)

diff --git a/python/pyfmt b/python/pyfmt
index d465f7d..cb25559 100755
--- a/python/pyfmt
+++ b/python/pyfmt
@@ -28,7 +28,7 @@ fi
 # installed copy.
 #
 # If not, we use the `ruff` from my ~/repos/scripts virtualenv.
-if which ruff
+if which ruff >/dev/null
 then
   RUFF="$(which ruff)"
 else