ruff/crates/ruff_cli/tests
Charlie Marsh 3261d16e61
Add `--extension` support to the formatter (#9483)
## Summary

We added `--extension` to `ruff check`, but it's equally applicable to
`ruff format`.

Closes https://github.com/astral-sh/ruff/issues/9482.

Resolves https://github.com/astral-sh/ruff/discussions/9481.

## Test Plan

`cargo test`
2024-01-12 18:53:25 +00:00
..
snapshots Add `cell` field to JSON output format (#7664) 2023-10-13 01:06:02 +00:00
format.rs Add `--extension` support to the formatter (#9483) 2024-01-12 18:53:25 +00:00
integration_test.rs Use `DisplayParseError` for stdin parser errors (#9409) 2024-01-06 15:28:12 +00:00
lint.rs Add `--extension` support to the formatter (#9483) 2024-01-12 18:53:25 +00:00
resolve_files.rs Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00