Skip to content

Commit c28bb11

Browse files
committed
Add scripts
1 parent fbe7509 commit c28bb11

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dev = [
2525
]
2626

2727
[tool.uv.workspace]
28-
members = ["api", "domain", "transcriber", "test_utils", "common"]
28+
members = ["api", "domain", "transcriber", "test_utils", "common", "scripts"]
2929

3030
[tool.uv.sources]
3131
api = { workspace = true }

scripts/main.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from decimal import Decimal
2+
3+
from domain.entities.product import Product
4+
5+
6+
def main() -> None:
7+
Product(name="Sample Product", price=Decimal("19.99"), is_discontinued=False)
8+
9+
10+
if __name__ == "__main__":
11+
main()

scripts/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[project]
2+
name = "scripts"
3+
version = "0.1.0"
4+
dependencies = []

scripts/script.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

uv.lock

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

0 commit comments

Comments
 (0)