claude-dev-env 8.42.0 → 8.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -54,8 +54,8 @@ file and the line.
|
|
|
54
54
|
|
|
55
55
|
The pattern list lives in
|
|
56
56
|
`scripts/dev_env_scripts_constants/contrast_framing_constants.py`, and both
|
|
57
|
-
lints read that one list. A synchronization test requires
|
|
58
|
-
|
|
57
|
+
lints read that one list. A synchronization test requires the rule file
|
|
58
|
+
`rules/no-contrast-framing.md` to name every form the list carries.
|
|
59
59
|
|
|
60
60
|
A chat reply reaches no check, so the same list is what the writer reads the
|
|
61
61
|
sentence against: a comma followed by `not`, a `rather than`, a `not just`, a
|
package/package.json
CHANGED
|
@@ -8,8 +8,8 @@ against a rejected reading::
|
|
|
8
8
|
"precision matters more than coverage" -> comparative-ranking
|
|
9
9
|
ok: "the function runs more than 30 lines"
|
|
10
10
|
|
|
11
|
-
The rule file ``rules/no-contrast-framing.md``
|
|
12
|
-
|
|
11
|
+
The rule file ``rules/no-contrast-framing.md`` names each form here in
|
|
12
|
+
backticks, and a test holds the two in step.
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
@@ -89,7 +89,7 @@ def test_form_named_rejects_an_unknown_name() -> None:
|
|
|
89
89
|
form_named("no-such-form")
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
def
|
|
92
|
+
def test_every_form_is_named_in_the_rule_document() -> None:
|
|
93
93
|
rule_text = (PACKAGE_ROOT / CONTRAST_FRAMING_RULE_DOCUMENT).read_text(
|
|
94
94
|
encoding="utf-8"
|
|
95
95
|
)
|