diff --git a/docs/usage.md b/docs/usage.md index 23fb1174bcca66..452e4361be3956 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -7,6 +7,7 @@ ruff check . # Lint all files in the current directory (a ruff check path/to/code/ # Lint all files in `/path/to/code` (and any subdirectories) ruff check path/to/code/*.py # Lint all `.py` files in `/path/to/code` ruff check path/to/code/to/file.py # Lint `file.py` +ruff check @file_paths.txt # Lint using an input file and treat its contents as command-line arguments (whitespace delimiter) ``` You can run Ruff in `--watch` mode to automatically re-run on-change: