Commit d948bd5
committed
chore(deps): bump
PR 52 (`93cb529`) fixes four of the five `macro_argument_binding`
bug classes filed earlier:
- #415 — `debug_assert_*` trivial-comparison no longer flagged when
the comparison is over side-effect-free operands. Removed
function-scope `#[expect]` suppressions in `data_tree::hardlink`,
`visualizer::methods::bar_table`, and
`visualizer::methods::initial_table`.
- #416 — `name = value` / `name += value` DSL matchers no longer
flagged. Removed the function-scope suppression on
`reporter::progress_and_error_reporter::report`. The narrower
`->` / `in` separators used by `tests::bytes_format::test_case!`
are not yet covered, so its crate-root suppression remains, with
the reason updated to point at the partial fix.
- #417 — unit literal `()` is now trivial. Removed the
function-scope suppression on `app::App::run`.
- #418 — bare operator tokens (`==`, `>`) used as positional
separators in `debug_assert_op_expr!` are no longer flagged.
The lone residual flag in `visualizer::methods::tree_table`
(`debug_assert_op_expr!(intermediate_table.len(), ==, ...)`) is
correct rule behaviour: the rule cannot prove `Vec::len` is pure.
Replaced the broad suppression with a narrower one citing
`Vec::len`'s `O(1)`-pure-read contract.
PR 43, folded into PR 52's branch, splits `single_letter_names`
into separate per-rule config keys. Migrate the
`comparison_methods` allowlist from
`[perfectionist::single_letter_names]` to the new
`[perfectionist::single_letter_closure_param]` section so the
project-specific `sort_reflection_by` / `into_sorted_by` helpers
remain exempt from the closure-parameter check.
https://claude.ai/code/session_01CoRidYHvni9nKNgxMPXmfQperfectionist to KSXGitHub/perfectionist#52 head1 parent eec253d commit d948bd5
8 files changed
Lines changed: 4 additions & 39 deletions
File tree
- src
- data_tree
- reporter
- visualizer/methods
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 42 | | |
50 | 43 | | |
51 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 15 | | |
23 | 16 | | |
24 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 82 | | |
90 | 83 | | |
91 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 15 | | |
23 | 16 | | |
24 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments