mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 04:19:18 +00:00
![]() ## Summary This refactors the `ruff_cli` integration tests to create a new `RuffCheck` struct -- this holds options to configure the "common case" flags that we want to pass to Ruff (e.g. `--no-cache`, `--isolated`, etc). This helps reduce the boilerplate and (IMO) makes it more obvious what the core logic of each test is by keeping only the "interesting" parameters. ## Test Plan `cargo test` |
||
---|---|---|
.. | ||
snapshots | ||
format.rs | ||
integration_test.rs | ||
lint.rs | ||
resolve_files.rs |