mirror of https://github.com/astral-sh/ruff
Add usage clarification to README (#1557)
This commit is contained in:
parent
cdae2f0e67
commit
06321fd240
|
|
@ -157,9 +157,9 @@ pacman -S ruff
|
|||
To run Ruff, try any of the following:
|
||||
|
||||
```shell
|
||||
ruff path/to/code/to/check.py
|
||||
ruff path/to/code/
|
||||
ruff path/to/code/*.py
|
||||
ruff path/to/code/to/check.py # Run Ruff over `check.py`
|
||||
ruff path/to/code/ # Run Ruff over all files in `/path/to/code` (and any subdirectories)
|
||||
ruff path/to/code/*.py # Run Ruff over all `.py` files in `/path/to/code`
|
||||
```
|
||||
|
||||
You can run Ruff in `--watch` mode to automatically re-run on-change:
|
||||
|
|
|
|||
Loading…
Reference in New Issue