-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (63 loc) · 1.39 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
[tool.poetry]
name = "home-periscope"
version = "0.0.1"
description = ""
authors = ["Marcin Goncerzewicz <[email protected]>"]
readme = "README.md"
packages = [
{include = "main", from = "src"}
]
[tool.poetry.dependencies]
python = "~3.11"
attrs = "23.2.0"
fastapi = { version = "0.95.0", extras = ["all"] }
fastapi-injector = "0.5.4"
fastapi-utils = "0.2.1"
uvicorn = { version = "0.27.1", extras = ["standard"] }
loguru = "0.7.2"
pyyaml = "6.0.1"
pyplumio = "0.5.20"
pytz = "2024.1"
python-dateutil = "2.8.2"
injector = "0.21.0"
aiounittest = "^1.4.2"
types-pyyaml = "^6.0.12.20240311"
redis = "^5.0.3"
phon = "^0.1a3"
click = "^8.1.7"
[tool.poetry.group.dev.dependencies]
autoflake = "2.2.1"
pytest = "7.4.4"
black = "24.2.0"
isort = "5.11.2"
mypy = "1.9.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.autoflake]
check = true
remove_all_unused_imports = true
[tool.isort]
line_length = 120
multi_line_output = 3
force_alphabetical_sort_within_sections = true
profile = "black"
[tool.black]
line-length = 120
target-version = ['py311']
skip-string-normalization = true
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
scripts_are_modules = true
explicit_package_bases = true
pretty = true
#allow_subclassing_any = true
follow_imports = "normal"
strict = true
mypy_path = "src"
[tool.pytest.ini_options]
pythonpath = [
".",
"src"
]