ruff/crates/ruff_linter
bluthej ee533332ed
Refactor: use Settings struct (#7665)
## Summary

Pass around a `Settings` struct instead of individual members to
simplify function signatures and to make it easier to add new settings.

This PR was suggested in [this
comment](https://github.com/astral-sh/ruff/issues/1567#issuecomment-1734182803).

## Note on the choices

I chose which functions to modify based on which seem most likely to use
new settings, but suggestions on my choices are welcome!
2023-09-26 12:17:18 -05:00
..
resources/test Don't suggest replacing builtin.open() with Path.open() if the latter doesn't support all options (#7637) 2023-09-26 09:07:35 +00:00
src Refactor: use Settings struct (#7665) 2023-09-26 12:17:18 -05:00
Cargo.toml Implement our own small-integer optimization (#7584) 2023-09-25 15:13:21 +00:00