mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 05:25:17 +00:00
Update contributing.md with where to run ruff from (#6048)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> As of right now, the instructions don't specify where to run ruff from after cloning the repository this is to address that. Super trivial change, but helpful for real newbies I think.
This commit is contained in:
parent
ed72c027a3
commit
51d8fc1f30
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ pipx install pre-commit # or `pip install pre-commit` if you have a virtualenv
|
|||
|
||||
### Development
|
||||
|
||||
After cloning the repository, run Ruff locally with:
|
||||
After cloning the repository, run Ruff locally from the repository root with:
|
||||
|
||||
```shell
|
||||
cargo run -p ruff_cli -- check /path/to/file.py --no-cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue