Skip to content

Commit d074cd4

Browse files
authored
chore: release of 0.8.2
Merge pull request #96 from Logic-py/develop
2 parents ce01e7a + c67a3d2 commit d074cd4

3 files changed

Lines changed: 48 additions & 23 deletions

File tree

poetry.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "python-template"
3-
version = "0.8.1"
3+
version = "0.8.2"
44
description = "Used to templatize python projects."
55
authors = [{ name = "Loïc Motheu", email = "lmotheu@gmail.com" }]
66
readme = "README.md"
@@ -16,7 +16,7 @@ package-mode = false
1616
mypy = "^1.15.0"
1717
pre-commit = "^4.2.0"
1818
pytest = "^8.3.5"
19-
ruff = "^0.11.4"
19+
ruff = "^0.11.11"
2020

2121
[project.ruff]
2222
src = ["src"]

src/main.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
"""Public module example."""
2+
3+
from loguru import logger
4+
5+
6+
def example(data: str) -> None:
7+
"""Use this docstring as an example for an Example function.
8+
9+
Args:
10+
data: a string, testing
11+
12+
Returns:
13+
Nothing
14+
15+
"""
16+
logger.info(data)
17+
18+
19+
if __name__ == "__main__":
20+
logger.info("hello world, test")
21+
22+
a = 5
23+
b = 1
24+
25+
example(data=str(a + b))

0 commit comments

Comments
 (0)