- Added `.vscode` to `.gitignore` to exclude Visual Studio Code settings. - Updated `pyproject.toml` to include `ruff` for linting and configured its settings. - Modified `uv.lock` to include `ruff` in both optional and development dependencies. - Refactored type hints in several files to use `str | None` for optional parameters. - Cleaned up unused imports and whitespace in various modules for improved code clarity.
8 lines
169 B
Python
8 lines
169 B
Python
import importlib
|
|
import pkgutil
|
|
|
|
package = __package__
|
|
|
|
for _, module_name, _ in pkgutil.iter_modules(__path__):
|
|
importlib.import_module(f"{package}.{module_name}")
|