mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +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
|
# Override warnings setup for code review
|
||||||
# Only disactivating when code_review_warnings is set to False on a linter.yml in use
|
# 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
|
lintargs["show_warnings"] = True
|
||||||
|
|
||||||
func = supported_types[config["type"]]
|
func = supported_types[config["type"]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user