This commit is contained in:
Jev Kuznetsov
2025-09-15 09:09:40 +02:00
parent f6da3d9839
commit 27bb46e039
6 changed files with 33 additions and 75 deletions

View File

@@ -1,8 +1,3 @@
"""{{ cookiecutter.project_name }} - {{ cookiecutter.description }}"""
__version__ = "{{ cookiecutter.version }}"
def hello() -> str:
"""Return a hello message."""
return "Hello from {{ cookiecutter.project_name }}!"
__version__ = "{{ cookiecutter.version }}"

View File

@@ -1,17 +1,6 @@
"""Core functionality for {{ cookiecutter.project_name }}."""
def process_data(data: str) -> str:
"""Process input data and return result."""
return f"Processed: {data}"
class {{ cookiecutter.project_name.replace(' ', '').replace('-', '') }}:
"""Main class for {{ cookiecutter.project_name }}."""
def __init__(self, name: str = "default") -> None:
self.name = name
def run(self) -> str:
"""Run the main functionality."""
return f"Running {{ cookiecutter.project_name }} with {self.name}"
def say_hello(name: str = "World") -> None:
"""Print a hello message."""
print(f"Hello, {name}!")