LINTER = "rumdl" # `fixed` is updated by the mozlint test harness (see conftest.py): when a # linter returns a dict with a "fixed" key, the harness adds that count to # this module-level variable. Same pattern as test_ruff_format.py.
fixed = 0
def test_lint_rumdl_no_markdown(lint, tmp_path): # rumdl prints a plain "No markdown files found to check." message (not # JSON) when a path contains no .md files. The linter should treat that # as an empty result rather than a parse error.
(tmp_path / "not_markdown.txt").write_text("hello")
results = lint([str(tmp_path)]) assert results == []
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.