diff --git a/pyproject.toml b/pyproject.toml index 6a5da95..04af089 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,15 +1,17 @@ [project] name = "python-template" -version = "0.8.0" +version = "0.8.1" description = "Used to templatize python projects." authors = [{ name = "Loïc Motheu", email = "lmotheu@gmail.com" }] readme = "README.md" requires-python = ">=3.13,<4.0" -package-mode = false dependencies = [ "loguru (>=0.7.3,<0.8.0)" ] +[tool.poetry] +package-mode = false + [tool.poetry.group.dev.dependencies] mypy = "^1.15.0" pre-commit = "^4.2.0" diff --git a/src/python_template/__init__.py b/src/main.py similarity index 100% rename from src/python_template/__init__.py rename to src/main.py diff --git a/src/python_template/main.py b/src/python_template/main.py deleted file mode 100644 index 159d1ac..0000000 --- a/src/python_template/main.py +++ /dev/null @@ -1,25 +0,0 @@ -"""Public module example.""" - -from loguru import logger - - -def example(data: str) -> None: - """Use this docstring as an example for an Example function. - - Args: - data: a string, testing - - Returns: - Nothing - - """ - logger.info(data) - - -if __name__ == "__main__": - logger.info("hello world, test") - - a = 5 - b = 1 - - example(data=str(a + b))