`--show-settings` displays active settings in a far more readable format #9464
First-pass implementation of `Display` for `ruff_workspace::Settings`
651c1aa8
snowsignal
force pushed
from
69b887eb
to
651c1aa8
2 years ago
Use `Display::fmt` directly instead of `write!(f, {}, ...)`
1341d500
Make `namespace` an optional parameter for `display_settings` and rem…
415104ef
Eliminate unnessecary allocations in the `Display` implementations of…
afe986c7
Remove unnessecary allocation from `impl Display for KnownModules` an…
16dbd8f0
Implement `array` and `optional` formatting options for `display_sett…
e7a6aabb
Add `quoted` formatter to `display_settings` and document the `displa…
eb9c1fbf
Properly implement `Display` for `PerFileIgnores`
0ce38bc7
Merge branch 'main' of github.com:astral-sh/ruff into jane/settings/d…
2856361b
snowsignal
marked this pull request as ready for review 2 years ago
Set up a snapshot test for the default output of `--show-settings`
14221b6b
snowsignal
force pushed
from
685ea760
to
14221b6b
2 years ago
Remove extraneous newline from stdout for `--show-settings`
84a1a2c7
snowsignal
force pushed
from
c1fa71e7
to
644aa551
2 years ago
snowsignal
force pushed
from
644aa551
to
a8fd56c2
2 years ago
Cleanup snapshot tests
14a8a6ec
snowsignal
force pushed
from
a8fd56c2
to
14a8a6ec
2 years ago
Add top-level comment to `Settings` display
8c82e875
Make `resolve_per_file_ignores` into an associated function
5793b604
konstin
approved these changes
on 2024-01-12
Space out comment headers for settings display
142883c3
Add Linter Plugins heading to settings display
b3e3c393
Use 'none' instead of 'nil' when displaying None values in settings
27007a14
Explain the order of matchers in `PerFileIgnores`
ba3e00be
Merge branch 'main' of github.com:astral-sh/ruff into jane/settings/d…
a24a50aa
snowsignal
deleted the jane/settings/display-improvements branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub