Skip to content

Commit

Permalink
Added simple docs for argfile
Browse files Browse the repository at this point in the history
  • Loading branch information
njgrisafi committed Sep 4, 2023
1 parent 0465b03 commit 6690646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6690646

Please sign in to comment.