diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f29e67f4a..9679aa9d7a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -148,7 +148,7 @@ This implies that rule names: - should state the bad thing being checked for -- should not contain instructions on what you what you should use instead +- should not contain instructions on what you should use instead (these belong in the rule documentation and the `autofix_title` for rules that have autofix) When re-implementing rules from other linters, this convention is given more importance than diff --git a/docs/faq.md b/docs/faq.md index 8eb1f5942b..c40cfa9052 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -371,5 +371,5 @@ Ruff's color output is powered by the [`colored`](https://crates.io/crates/color 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`). -[`colored`](https://crates.io/crates/colored) also supports the the `CLICOLOR` and `CLICOLOR_FORCE` +[`colored`](https://crates.io/crates/colored) also supports the `CLICOLOR` and `CLICOLOR_FORCE` environment variables (see the [spec](https://bixense.com/clicolors/)).