зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1703664 - Fix linting opt failure on mozlint/roller.py.
CLOSED TREE
This commit is contained in:
Родитель
dc4a470855
Коммит
79873d0515
|
@ -55,7 +55,9 @@ def _run_worker(config, paths, **lintargs):
|
|||
|
||||
# Override warnings setup for code review
|
||||
# Only disactivating when code_review_warnings is set to False on a linter.yml in use
|
||||
if os.environ.get("CODE_REVIEW") == "1" and config.get("code_review_warnings", True):
|
||||
if os.environ.get("CODE_REVIEW") == "1" and config.get(
|
||||
"code_review_warnings", True
|
||||
):
|
||||
lintargs["show_warnings"] = True
|
||||
|
||||
func = supported_types[config["type"]]
|
||||
|
|
Загрузка…
Ссылка в новой задаче