Bug 1449035 - Codespell: move to quiet-level=7 to also ignore the binary r?ahal draft
authorSylvestre Ledru <sledru@mozilla.com>
Sat, 12 May 2018 12:03:11 +0200
changeset 794528 a441fc039f39c676f788db7ef5ee5fc26e53eb01
parent 794527 d6abd44685c1c8c2b34058e45e05bace5a19cb9f
push id109697
push userbmo:sledru@mozilla.com
push dateSat, 12 May 2018 10:04:34 +0000
reviewersahal
bugs1449035
milestone62.0a1
Bug 1449035 - Codespell: move to quiet-level=7 to also ignore the binary r?ahal MozReview-Commit-ID: 9ldfPPRqiSu
tools/lint/spell/__init__.py
--- a/tools/lint/spell/__init__.py
+++ b/tools/lint/spell/__init__.py
@@ -114,17 +114,17 @@ def lint(paths, config, fix=None, **lint
     exclude_list = os.path.join(here, 'exclude-list.txt')
     cmd_args = [binary,
                 '--disable-colors',
                 # Silence some warnings:
                 # 1: disable warnings about wrong encoding
                 # 2: disable warnings about binary file
                 # 4: shut down warnings about automatic fixes
                 #    that were disabled in dictionary.
-                '--quiet-level=4',
+                '--quiet-level=7',
                 '--ignore-words=' + exclude_list,
                 # Ignore dictonnaries
                 '--skip=*.dic',
                 ]
 
     if fix:
         cmd_args.append('--write-changes')