no bug - mozlint/ruff: log.debug the arguments r=linter-reviewers,ahal DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D179371
This commit is contained in:
Sylvestre Ledru 2023-06-02 13:39:57 +00:00
Родитель 1b230888fa
Коммит 9dde27ae07
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -154,6 +154,8 @@ def lint(paths, config, log, **lintargs):
if matches:
fixed = int(matches[1])
log.debug(f"Running with args: {args}")
output = run_process(config, args + ["--format=json"], **process_kwargs)
if not output:
return []

Просмотреть файл

@ -2,11 +2,11 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, # You can obtain one at http://mozilla.org/MPL/2.0/.
import concurrent.futures as futures
import io
import mimetypes
import os
import sys
from concurrent import futures
from pprint import pprint
import boto3