Skip to content

Commit 34a3fba

Browse files
authored
fix: include markdownlint-cli2 (#672)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent fbaca88 commit 34a3fba

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/sp_repo_review/checks/precommit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class PC180(PreCommit):
138138
"https://github.com/rbubley/mirrors-prettier",
139139
"https://github.com/hukkin/mdformat",
140140
"https://github.com/rvben/rumdl-pre-commit",
141+
"https://github.com/davidanson/markdownlint-cli2",
141142
}
142143

143144

tests/test_precommit.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,14 @@ def test_pc180_alt_3():
166166
assert compute_check("PC180", precommit=precommit).result
167167

168168

169+
def test_pc180_alt_4():
170+
precommit = yaml.safe_load("""
171+
repos:
172+
- repo: https://github.com/DavidAnson/markdownlint-cli2
173+
""")
174+
assert compute_check("PC180", precommit=precommit).result
175+
176+
169177
def test_pc191(ruff_check: str):
170178
precommit = yaml.safe_load(f"""
171179
repos:

0 commit comments

Comments
 (0)