From c205c300e787de2590c26368c781cea0efb90629 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 3 Dec 2022 19:13:36 +0100 Subject: [PATCH] Requalify utf8 check for .md file as Error --- package_linter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package_linter.py b/package_linter.py index d259f38..8220e2d 100755 --- a/package_linter.py +++ b/package_linter.py @@ -712,8 +712,8 @@ class App(TestSuite): if not file_: continue file_ = file_.split()[0] - yield Warning( - "%s appears to be encoded as latin-1 / iso-8859-1. Please consider converting it to utf-8 to avoid funky issues. Something like 'iconv -f iso-8859-1 -t utf-8 SOURCE > DEST' should do the trick." + yield Error( + "%s appears to be encoded as latin-1 / iso-8859-1. Please convert it to utf-8 to avoid funky issues. Something like 'iconv -f iso-8859-1 -t utf-8 SOURCE > DEST' should do the trick." % file_ )