Skip to content

Commit e87eca5

Browse files
committed
chore(deps): bump perfectionist to 0.0.0-rc.12
Five new commits since `3ca7f01`: - KSXGitHub/perfectionist#65 finishes `macro_argument_binding`'s non-expression-marker list. `looks_like_expression` now skips top-level `->` and `in` tokens alongside the `=` / `+=` / `:` / bare-operator markers added earlier. Resolves the residual case of the issue we filed as #416, where `tests::bytes_format::test_case!`'s `name -> value in system == expected` DSL was still flagged even after the `=` / `+=` fixes. - KSXGitHub/perfectionist#67 introduces a crate-wide `[perfectionist]` config table with `enable` / `disable` arrays, and shifts `non_exhaustive_error`'s default state to `Disabled` (opt-in via `[perfectionist] enable = ["non_exhaustive_error"]`). This codebase already retired the rule in d845841, so the new upstream default matches our intent — no configuration needed. - KSXGitHub/perfectionist#68, KSXGitHub/perfectionist#69, KSXGitHub/perfectionist#70 are documentation-only. Drop the entire `[perfectionist::macro_argument_binding] allow_extra` list. Every entry it carried — `bump`, `link`, `make_const`, `symlink`, `test_case`, `visualize` — is now silenced by the rule's own per-argument trivial-expression and DSL-separator checks. Concretely: - `bump!(items += 1)` — `+=` skipped (PR #52). - `make_const!(LEVEL0_BLOCK = '█')` — `=` skipped (PR #52). - `visualize!(tree, ())` — `tree` is a trivial path, `()` is the unit literal classified as trivial in PR #52. - `link!("a" -> "b")` / `symlink!("a" -> "b")` — `->` skipped (PR #65). - `test_case!(plain_number -> 65_535 in PlainNumber == "65535")` — `->` and `in` skipped (PR #65). `deny_extra` stays as-is — the `assert_cmp::debug_assert_op*` family still needs explicit denial so non-trivial arguments inside them get caught. https://claude.ai/code/session_01CoRidYHvni9nKNgxMPXmfQ
1 parent a135084 commit e87eca5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dylint.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace.metadata.dylint]
22
libraries = [
3-
{ git = "https://github.com/KSXGitHub/perfectionist", rev = "3ca7f01eb5b1359f6656b383be56d3b3697b106b" },
3+
{ git = "https://github.com/KSXGitHub/perfectionist", tag = "0.0.0-rc.12" },
44
]
55

66
["perfectionist::derive_ordering"]
@@ -21,7 +21,6 @@ prefix = [
2121

2222
["perfectionist::macro_argument_binding"]
2323
deny_extra = ["debug_assert_op", "debug_assert_op_expr"]
24-
allow_extra = ["bump", "link", "make_const", "symlink", "test_case", "visualize"]
2524

2625
["perfectionist::single_letter_closure_param"]
2726
extra_trivial_callback_methods = ["sort_reflection_by"]

0 commit comments

Comments
 (0)