-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (89 loc) · 2.5 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# This file is used to configure the project and its dependencies
# For more information about this pyproject.toml, see UV documentation: https://github.com/astral-sh/uv/blob/main/docs/reference/settings.md
[project]
name = "wa-bot-template"
version = "0.1.1"
description = "Template for WA bot using FastAPI and uv"
readme = "README.md"
license-files = ["LICENSE"]
requires-python = ">=3.11"
authors = [
{ name = "Lautaro Pacella", email = "[email protected]" },
{ name = "Carlos Ferreyra", email = "[email protected]" },
]
maintainers = [{ name = "Carlos Ferreyra", email = "[email protected]" }]
keywords = ["whatsapp", "bot", "fastapi", "uv"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.11",
"Framework :: FastAPI",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Infrastructure :: Serverless",
]
dependencies = [
"boto3>=1.35.94",
"fastapi[standard]>=0.115.6",
"mangum>=0.19.0",
"pre-commit>=4.0.1",
"pulumi>=3.146.0",
"pulumi-aws>=6.66.3",
"pulumi-awsx>=2.21.0",
"pulumi-docker>=4.6.1",
"pulumi-esc-sdk>=0.11.0",
"pulumi-gcp>=8.14.0",
"pulumi-github>=6.6.0",
"pulumi-random>=4.16.8",
"requests>=2.32.3",
"uvicorn>=0.34.0",
"python-dotenv>=1.0.1",
"ngrok>=1.4.0",
]
[dependency-groups]
dev = [
"dotenv-linter>=0.5.0",
"httpx>=0.28.1",
"pyright[nodejs]>=1.1.392.post0",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"ruff>=0.9.3",
]
[project.optional-dependencies]
# UV configuration
[tool.uv]
preview = true
default-groups = ["dev"]
required-version = ">=0.5.18"
upgrade = true
# managed = false # Uncomment this line to disable the managed mode
# Hatchling configuration
# [build-system]
# requires = ["hatchling"]
# build-backend = "hatchling.build"
# Ruff configuration
[tool.ruff]
target-version = "py311"
line-length = 88
indent-width = 4
[tool.ruff.lint]
# select = ["E4", "E7", "E9", "F", "W", "C", "D", "I", "R", "T", "B", "C", "E", "F", "I", "N", "R", "T", "W"]
select = ["ALL"]
ignore = ["S", "D104", "ERA001", "INP001"]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
# Pytest configuration
[tool.pytest.ini_options]
addopts = "-ra -q"
minversion = "8.0"
testpaths = ["tests"]
pythonpath = ["."]
# Coverage configuration
[tool.coverage.run]
source = ["backend"]
omit = ["tests/*"]