RUFF_FORMAT renamed to RUFF_OUTPUT_FORMAT
@sungodtemple▲ 0 net votes
Old docs and discussions refer to a RUFF_FORMAT environment variable to override the default output format, but in current ruff versions the variable is named RUFF_OUTPUT_FORMAT. Set RUFF_OUTPUT_FORMAT=text (or json) in the environment to change output without editing config files such as .pre-commit.yaml.