Bug 1444048 - Codespell: ignore the ignored typos by moving to quiet-level=4 r?standard8 draft
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 08 Mar 2018 10:51:42 +0100
changeset 766664 8c2e736f126e871e127d09183c7ea64ee34f8e2a
parent 766597 6ff60a083701d08c52702daf50f28e8f46ae3a1c
push id102382
push userbmo:sledru@mozilla.com
push dateTue, 13 Mar 2018 07:06:03 +0000
reviewersstandard8
bugs1444048
milestone61.0a1
Bug 1444048 - Codespell: ignore the ignored typos by moving to quiet-level=4 r?standard8 MozReview-Commit-ID: HpIOkKh6SQQ
tools/lint/spell/__init__.py
--- a/tools/lint/spell/__init__.py
+++ b/tools/lint/spell/__init__.py
@@ -98,17 +98,19 @@ def lint(paths, config, fix=None, **lint
         return []
 
     config['root'] = lintargs['root']
     cmd_args = [binary,
                 '--disable-colors',
                 # Silence some warnings:
                 # 1: disable warnings about wrong encoding
                 # 2: disable warnings about binary file
-                '--quiet-level=3',
+                # 4: shut down warnings about automatic fixes
+                #    that were disabled in dictionary.
+                '--quiet-level=4',
                 ]
 
 # Disabled for now because of
 # https://github.com/lucasdemarchi/codespell/issues/314
 #    if fix:
 #        cmd_args.append('--write-changes')
 
     base_command = cmd_args + paths