blob: f488efc655666c51f9872690dc3b7884bbdbcdd0 [file] [log] [blame]
# Copyright 2023 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Provide a namespace for our helpers."""
from chromite.utils import lazy_loader
# TODO(build): Switch to module __getattr__ when we're Python 3.7+.
# https://peps.python.org/pep-0562/
locals().update(
(x, lazy_loader.ForFunctions(f"chromite.lint.linters.{x}"))
for x in (
"gnlint",
"owners",
"shell",
"upstart",
"whitespace",
)
)