# 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 from fnmatch import fnmatch
import mozunit import pytest
from mozlint import pathutils
here = os.path.abspath(os.path.dirname(__file__))
root = os.path.join(here, "filter")
input_paths = [os.path.join(root, p) for p in test["paths"]]
paths = list(pathutils.expand_exclusions(input_paths, test["config"], root))
assert_paths(paths, expected)
inputs = [] for path in paths:
base, name = os.path.split(path) if"*"in name: for n in os.listdir(base): ifnot fnmatch(n, name): continue
inputs.append(os.path.join(base, n)) else:
inputs.append(path)
¤ 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.0.48Bemerkung:
(vorverarbeitet am 2026-04-28)
¤
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.