ruff/crates/ruff_cli
Víctor 6feea863a6
Update format.rs to display correct message for already formatted files (#9153)
## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

New messages for "format" mode. 
Fixes #9132 

## Test Plan

<!-- How was it tested? -->

I ran the tests specified in `CONTRIBUTING.md`
```bash
cargo run -p ruff_cli -- check /path/to/some_files.py --no-cache
cargo run -p ruff_cli -- format --check /path/to/some_files.py --no-cache

cargo clippy --workspace --all-targets --all-features -- -D warnings
RUFF_UPDATE_SCHEMA=1 cargo test
pre-commit run --all-files --show-diff-on-failure
```

**Note:** In case no files are detected, either correctly formatted,
changed, or unchanged, it does not display a message. Wouldn't it be
better to show some message in this case?
2023-12-18 00:07:21 -05:00
..
resources/test/fixtures Update ruff check and ruff format to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
src Update format.rs to display correct message for already formatted files (#9153) 2023-12-18 00:07:21 -05:00
tests Update format.rs to display correct message for already formatted files (#9153) 2023-12-18 00:07:21 -05:00
build.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00
Cargo.toml Bump version to v0.1.8 (#9116) 2023-12-13 13:19:51 -05:00