# 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 os import unittest
import six from buildconfig import topobjdir, topsrcdir from mozunit import main
for project in ( "browser", "js", "memory", "mobile/android",
):
attrs["test_%s" % project.replace("/", "_")] = create_test(
project, attrs["lint"]
)
return type.__new__(mcs, name, bases, attrs)
# We don't actually need python2 compat, but this makes flake8 happy.
@six.add_metaclass(LintMeta) class Lint(unittest.TestCase): def setUp(self):
self._curdir = os.getcwd()
os.chdir(topobjdir)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.