Coverage for seedboxsync/front/views/__init__.py: 100%
8 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-26 17:46 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-26 17:46 +0000
1#
2# Copyright (C) 2015-2026 Guillaume Kulakowski <guillaume@kulakowski.fr>
3#
4# For the full copyright and license information, please view the LICENSE
5# file that was distributed with this source code.
6#
7"""Package "view" initialization."""
9import importlib
10import pkgutil
11from flask import Blueprint
13bp = Blueprint("frontend", __name__)
16def _load_controllers() -> None:
17 """Load compliant with mypy..."""
18 for _, module_name, _ in pkgutil.iter_modules(__path__):
19 importlib.import_module(f"{__name__}.{module_name}")
22_load_controllers()