first version
Python Code Quality / python-code-quality (push) Successful in 11s
Python Test / python-test (push) Successful in 12s

This commit is contained in:
Brian Bjarke Jensen
2026-01-07 17:59:16 +01:00
parent f8e512e663
commit 422bad3fb8
45 changed files with 3682 additions and 12 deletions
@@ -0,0 +1,17 @@
"""Module entry point for nested_python_module testing fixture."""
import logging
from src import func_one # type: ignore[attr-defined]
from src import func_two # type: ignore[attr-defined]
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
logger.info("Nested Python Module is running.")
result_one = func_one()
logger.info("func_one result: %s", {result_one})
result_two = func_two()
logger.info("func_two result: %s", {result_two})
logger.info("Nested Python Module executed successfully.")
@@ -0,0 +1,4 @@
from .func_one import func_one
from .func_two import func_two
__all__ = ["func_one", "func_two"]
@@ -0,0 +1,10 @@
"""Definition of func_one function."""
def func_one() -> str:
"""A simple function that returns a string.
Returns:
str: A greeting string.
"""
return "Function One says Hello!"
@@ -0,0 +1,10 @@
"""Definition of func_two function."""
def func_two() -> str:
"""A simple function that returns a string.
Returns:
str: A greeting string.
"""
return "Function Two says Hello!"