chore: import upstream snapshot with attribution
Validate YAML Workflows / Validate YAML Configuration Files (push) Has been cancelled
Validate YAML Workflows / Validate YAML Configuration Files (push) Has been cancelled
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
def titleize(value: str) -> str:
|
||||
sanitized = value.replace("_", " ").replace("-", " ").strip()
|
||||
if not sanitized:
|
||||
return value
|
||||
return " ".join(part.capitalize() for part in sanitized.split())
|
||||
Reference in New Issue
Block a user