review-policy-test/app.py

25 lines
665 B
Python

"""Boilerplate module for the review-policy test repo.
This repo exists only to validate the multi-team required-review workflow and the
branch-protection rulesets before they are applied to the real shoc repos. It is
disposable and will be deleted once the gate is confirmed working.
"""
def greet(name: str) -> str:
"""Return a friendly greeting for the given name."""
return f"Hello, {name}!"
def add(a: int, b: int) -> int:
"""Return the sum of two integers."""
return a + b
if __name__ == "__main__":
print(greet("review-policy"))
def multiply(a: int, b: int) -> int:
"""Return the product of two integers."""
return a * b