ruff/crates/ruff_cli
Micha Reiser 84979f9673
Rename `tab-size` to `indent-width` (#8082)
## Summary

This PR renames the `tab-size` configuration option to `indent-width` to
express that the formatter uses the option to determine the indentation
width AND as tab width.

I first preferred naming the option `tab-width` but then decided to go
with `indent-width` because:

* It aligns with the `indent-style` option
* It would allow us to write a lint rule that asserts that each
indentation uses `indent-width` spaces.

 Closes #7643

## Test Plan

Added integration test
2023-10-24 10:01:24 -04:00
..
resources/test/fixtures Add `--diff` option `ruff format` (#7937) 2023-10-18 11:55:05 +00:00
src Un-hide the `ruff format` command (#8167) 2023-10-24 09:54:28 -04:00
tests Rename `tab-size` to `indent-width` (#8082) 2023-10-24 10:01:24 -04:00
Cargo.toml Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00
build.rs Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00