Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions tools/test_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,24 +272,24 @@ async def test_app(monkeypatch):
PurePosixPath("fake-docs/text-verification.md"),
"line 9: 'Cloud Events' is banned",
),
(
PurePosixPath("fake-docs/README.md"),
"Translation file fake-docs/languages/your-lang/README.md does not exist",
),
(
PurePosixPath("fake-docs/README.md"),
"Translation file fake-docs/languages/my-lang/README.md does not exist",
),
(
PurePosixPath("fake-docs/link-verification.md"),
"Translation file fake-docs/languages/your-lang/link-verification.md does"
" not exist",
),
(
PurePosixPath("fake-docs/text-verification.md"),
"Translation file fake-docs/languages/my-lang/text-verification.md does not"
" exist",
),
# (
# PurePosixPath("fake-docs/README.md"),
# "Translation file fake-docs/languages/your-lang/README.md does not exist",
# ),
# (
# PurePosixPath("fake-docs/README.md"),
# "Translation file fake-docs/languages/my-lang/README.md does not exist",
# ),
# (
# PurePosixPath("fake-docs/link-verification.md"),
# "Translation file fake-docs/languages/your-lang/link-verification.md does"
# " not exist",
# ),
# (
# PurePosixPath("fake-docs/text-verification.md"),
# "Translation file fake-docs/languages/my-lang/text-verification.md does not"
# " exist",
# ),
(
PurePosixPath("fake-docs/yourspec/spec.md"),
"title ('# Your Spec - Version 1.0.1') does not "
Expand Down
2 changes: 1 addition & 1 deletion tools/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ async def _file_issues(path: ExistingPath, settings: Settings) -> Sequence[Tagge
return _tag_issues(
list(await _html_issues(path, settings))
+ list(_plain_text_issues(_read_text(path)))
+ list(_translation_issues(path))
# + list(_translation_issues(path))
+ list(_title_issues(path)),
tag=path,
)
Expand Down
Loading