mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Fix minor punctuation errors (#16228)
Co-authored-by: eqsdxr <rxdsqe@gmail.com>
This commit is contained in:
parent
ed9c18d9b4
commit
5cd0de3e4c
4 changed files with 7 additions and 7 deletions
|
@ -639,7 +639,7 @@ making changes to code, even for seemingly trivial fixes. If a "safe" fix breaks
|
|||
Ruff's color output is powered by the [`colored`](https://crates.io/crates/colored) crate, which
|
||||
attempts to automatically detect whether the output stream supports color. However, you can force
|
||||
colors off by setting the `NO_COLOR` environment variable to any value (e.g., `NO_COLOR=1`), or
|
||||
force colors on by setting `FORCE_COLOR` to any non-empty value (e.g. `FORCE_COLOR=1`).
|
||||
force colors on by setting `FORCE_COLOR` to any non-empty value (e.g., `FORCE_COLOR=1`).
|
||||
|
||||
[`colored`](https://crates.io/crates/colored) also supports the `CLICOLOR` and `CLICOLOR_FORCE`
|
||||
environment variables (see the [spec](https://bixense.com/clicolors/)).
|
||||
|
|
|
@ -177,7 +177,7 @@ setting in your configuration file:
|
|||
```
|
||||
|
||||
In our previous example, `--select` with `ALL` `HYP`, `HYP0`, or `HYP00` would not enable `HYP001`. Each preview
|
||||
rule will need to be selected with its exact code, e.g. `--select ALL,HYP001`.
|
||||
rule will need to be selected with its exact code: for example, `--select ALL,HYP001`.
|
||||
|
||||
If preview mode is not enabled, this setting has no effect.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue