ruff
`--show-settings` displays active settings in a far more readable format
#9464
Merged

`--show-settings` displays active settings in a far more readable format #9464

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone