mirror of https://github.com/astral-sh/ruff
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
|
|
@ -71,7 +71,7 @@ pipx install pre-commit # or `pip install pre-commit` if you have a virtualenv
|
||||||
|
|
||||||
### Development
|
### Development
|
||||||
|
|
||||||
After cloning the repository, run Ruff locally with:
|
After cloning the repository, run Ruff locally from the repository root with:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cargo run -p ruff_cli -- check /path/to/file.py --no-cache
|
cargo run -p ruff_cli -- check /path/to/file.py --no-cache
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue