-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (46 loc) · 1.22 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tool.poetry]
name = "wappu_spiriter"
version = "1.0.0"
description = ""
authors = [
"Mikael Siidorow <[email protected]>",
"Patrik Palviainen <[email protected]>",
]
readme = "readme.md"
[tool.poetry.dependencies]
python = "3.12.3"
python-telegram-bot = { extras = ["webhooks"], version = "^21.1.1" }
pydantic = "^2.7.1"
pydantic-settings = "^2.2.1"
openai = "^1.25.1"
pillow = "^10.3.0"
matplotlib = "^3.8.4"
more-itertools = "^10.2.0"
asyncio = "^3.4.3"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
poethepoet = "^0.26.1"
ruff = "^0.4.2"
watchfiles = "^0.21.0"
[tool.poe.tasks]
format = [{ cmd = "ruff format ." }, { cmd = "ruff check . --fix" }]
check = "mypy ."
lint = "ruff check ."
start = "python -m wappu_spiriter"
dev = "watchfiles \"poe start\" wappu_spiriter"
[tool.mypy]
plugins = "pydantic.mypy"
warn_redundant_casts = true
warn_unused_ignores = true
# disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
# explicit type defs everywhere for functions
# disallow_untyped_defs = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"