mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1703664 - Fix linting opt failure on mozlint/roller.py.
CLOSED TREE
This commit is contained in:
parent
dc4a470855
commit
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"]]
|
||||
|
Loading…
Reference in New Issue
Block a user