File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
src/sp_repo_review/checks Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ class PC180(PreCommit):
135135 "https://github.com/rbubley/mirrors-prettier" ,
136136 "https://github.com/executablebooks/mdformat" ,
137137 "https://github.com/hukkin/mdformat" ,
138+ "https://github.com/rvben/rumdl-pre-commit" ,
138139 }
139140
140141
Original file line number Diff line number Diff line change @@ -133,7 +133,23 @@ def test_pc180():
133133def test_pc180_alt_1 ():
134134 precommit = yaml .safe_load ("""
135135 repos:
136- - repo: https://github.com/rbubley/mirrors-prettier
136+ - repo: https://github.com/executablebooks/mdformat
137+ """ )
138+ assert compute_check ("PC180" , precommit = precommit ).result
139+
140+
141+ def test_pc180_alt_2 ():
142+ precommit = yaml .safe_load ("""
143+ repos:
144+ - repo: https://github.com/hukkin/mdformat
145+ """ )
146+ assert compute_check ("PC180" , precommit = precommit ).result
147+
148+
149+ def test_pc180_alt_3 ():
150+ precommit = yaml .safe_load ("""
151+ repos:
152+ - repo: https://github.com/rvben/rumdl-pre-commit
137153 """ )
138154 assert compute_check ("PC180" , precommit = precommit ).result
139155
You can’t perform that action at this time.
0 commit comments