Repository navigation
Update rumdl to 0.3.3 and drop the MyST target workarounds #1390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
7b96b70
dd79c0f
dffac0d
5b33d71
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,4 +10,4 @@ python = "3.12" | |
| just = "latest" | ||
| shellcheck = "0.11.0" | ||
| actionlint = "1.7.12" | ||
| rumdl = "0.3.2" | ||
| rumdl = "0.3.3" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,14 +25,12 @@ enable = [ | |
| "MD012", "MD018", "MD019", "MD020", "MD021", "MD022", "MD023", "MD024", | ||
| "MD025", "MD026", "MD027", "MD028", "MD029", "MD030", "MD031", "MD032", | ||
| "MD033", "MD034", "MD035", "MD036", "MD037", "MD038", "MD039", "MD040", | ||
| "MD042", "MD044", "MD045", "MD046", "MD047", "MD048", "MD049", | ||
| "MD041", "MD042", "MD044", "MD045", "MD046", "MD047", "MD048", "MD049", | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Self-review round two (claims and compatibility) — Base
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Independent review (relayed) — Reviewer: Codex CLI 0.166.0 (
Author verification: both reproduced with stdin probes and confirmed against markdownlint 0.38.0
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Repaired in dd79c0f.
Self-review of the repair (behavior and claims):
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Independent follow-up (relayed) — Codex CLI 0.166.0 ( Finding 2 resolved: YAML/TOML/JSON title cases match markdownlint 0.38 without over-acceptance. Finding 1's exception is accurate (no rumdl 0.3.3 option; Verified (reference image and reference-link badge reported; inline image and inline-linked badge pass) and repaired in dffac0d: the note now says "lines of only inline images or inline-linked badges"; PR body updated to match.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Independent follow-ups (relayed)
Independent review complete for head 5b33d71 (static review with read-only rumdl probes). |
||
| "MD050", "MD051", "MD052", "MD053", "MD054", "MD055", "MD056", "MD058", | ||
| "MD059", | ||
| # Not enabled: | ||
| # MD013: docs have long URLs and code lines that would be awkward to wrap | ||
| # MD014: `$ command` style is intentional in docs/testing.md and README shell snippets | ||
| # MD041: MyST `(label)=` ref targets must come before the first heading, so the | ||
| # first line of many docs/*.md files is not an H1 | ||
| # MD043: the docs share no single heading structure to require | ||
| ] | ||
|
|
||
|
|
@@ -74,6 +72,12 @@ list-items = true | |
| [MD036] | ||
| punctuation = ".,;:!?。,;:!?" | ||
|
|
||
| # markdownlint matches a front matter title key case-insensitively. Unlike | ||
| # markdownlint, rumdl can let lines of only inline images or inline-linked | ||
| # badges precede the first heading; it has no option to disallow them. | ||
| [MD041] | ||
| front-matter-title-pattern = '(?i)^\s*"?title"?\s*[:=]' | ||
|
|
||
| [MD051] | ||
| ignore-case = false | ||
|
|
||
|
|
@@ -84,9 +88,6 @@ ignore = ["x"] | |
| ignored-definitions = ["//"] | ||
|
|
||
| # Spell project and library names consistently in prose; code is exempt. | ||
| # rumdl also checks MyST `(label)=` targets, so the labels that contain one of | ||
| # these names disable MD044 for their line; remove those comments once the | ||
| # pinned rumdl skips targets (https://github.com/rvben/rumdl/issues/983). | ||
| [MD044] | ||
| names = ["PyAthena", "Athena", "SQLAlchemy", "fsspec", "Polars", "PyArrow", "pandas"] | ||
| code-blocks = false | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| <!-- rumdl-disable-next-line MD044 --> | ||
| (polars)= | ||
|
|
||
| # Polars | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| <!-- rumdl-disable-next-line MD044 --> | ||
| (sqlalchemy)= | ||
|
|
||
| # SQLAlchemy | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self-review round one (behavior and implementation) —
CLEANBase
edfafcf59d4382c9af6d2111816ac1209c46dba7, head7b96b703800d50bf37ba754d8c55dec28336101e.Covered:
.mise.tomlpin,.rumdl.tomlenable list and comments, the three removed disable comments indocs/index.md,docs/polars.md,docs/sqlalchemy.md.jdx/mise-actionfrom.mise.toml(.github/workflows/docs-lint.yaml:28,37), and the workflow path filter includes.mise.toml, so CI runs the bumped version.rumdl checkreports no issues in 30 files; 0.3.2 on the same tree reports the 3 MD044 target issues, so the removed comments were the only suppression needed.docs/*.mdhits on 0.3.2.rumdl-disablecomments or references to MyST flavor: targets ((label)=) are checked as text (MD044, MD041) rvben/rumdl#983 in the tree.-E) shows no new warnings; removing HTML comments before the(label)=targets does not change rendering.