зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1493683 - [lint] Remove wpt_manifest linter, r=jgraham
This is no longer needed because the manifest update now happens out of tree. The taskcluster task was already removed, though the actual linter implementation was forgotten. Differential Revision: https://phabricator.services.mozilla.com/D9118 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b7374a380b
Коммит
1ecb736fd6
|
@ -1,15 +0,0 @@
|
|||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# 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 imp
|
||||
import os
|
||||
|
||||
|
||||
def lint(files, config, logger, **kwargs):
|
||||
wpt_dir = os.path.join(kwargs["root"], "testing", "web-platform")
|
||||
manifestupdate = imp.load_source("manifestupdate",
|
||||
os.path.join(wpt_dir, "manifestupdate.py"))
|
||||
manifestupdate.update(logger, wpt_dir, True)
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
wpt_manifest:
|
||||
description: web-platform-tests manifest lint
|
||||
include:
|
||||
- testing/web-platform/tests
|
||||
- testing/web-platform/mozilla/tests
|
||||
exclude: []
|
||||
support-files:
|
||||
- tools/lint/wpt/wpt_manifest.py
|
||||
type: structured_log
|
||||
payload: wpt.wpt_manifest:lint
|
Загрузка…
Ссылка в новой задаче