-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (69 loc) · 1.53 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# [tool.poetry]
# name = "Tenere"
# version = "0.1"
# authors = ["ville <[email protected]>"]
# description = "A telegram bot to help log gas and mileage information."
# license = "MIT"
# [tool.poetry.dependencies]
# python = "^3.11"
# fastapi = "^0.100.0"
# uvicorn = "^0.22.0"
# [tool.poetry.dev-dependencies]
# [build-system]
# requires = ["poetry-core>=1.0.0"]
# build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.ruff]
target-version = "py311"
select = [
"A",
"B",
"E",
"F",
"ISC",
"UP",
"RUF",
"SIM",
"ARG",
"PD",
"PLE",
"PLR",
"PLW",
]
ignore = ["E712", "E501"]
[tool.ruff.per-file-ignores]
"tests/*" = ["PLR2004"]
[tool.pyright]
include = ["tenere"]
exclude = ["**/__pycache__"]
ignore = ["tests"]
venv = ".venv"
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.12"
pythonPlatform = "Windows"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.poetry]
name = "tenere"
version = "0.1.0"
description = "A telegram bot to help log gas and mileage information."
authors = ["ville <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.111.1"
arrow = "^1.3.0"
loguru = "^0.7.2"
motor = "^3.5.1"
pydantic = "^2.8.2"
python-telegram-bot = {extras = ["http2"], version = "^21.4"}
pydantic-settings = "^2.4.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
pyright = "^1.1.374"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"