-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (84 loc) · 2.03 KB
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
[tool.poetry]
name = "basic foundation"
version = "0.1.9"
description = "A modular Python starter kit for building SaaS applications."
authors = ["phernandez <phernandez@basicmachines.co>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/basicmachines-co/basic-foundation"
packages = [
{ include = "foundation" }, # Core components
]
[tool.poetry.dependencies]
python = "3.12.1"
sqlalchemy = { extras = ["asyncio"], version = "^2.0.25" }
psycopg2 = "^2.9.9"
asyncpg = "^0.29.0"
fastapi = { extras = ["standard"], version = "^0.112.0" }
fastapi-jwt = { extras = ["authlib"], version = "^0.3.0" }
passlib = { extras = ["bcrypt"], version = "^1.7.4" }
loguru = "^0.7.2"
typer = "^0.12.3"
emails = "^0.6"
aiosmtpd = "^1.4.6"
pyjwt = "^2.9.0"
itsdangerous = "^2.2.0"
starlette-wtf = "^0.4.5"
uvicorn = "^0.25.0"
jinja2 = "^3.1.2"
pydantic-settings = "^2.1.0"
pre-commit = "^3.8.0"
jinjax = "^0.46"
copier = "^9.3.1"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.381"
pytest-cov = "^5.0.0"
pytest = "^7.4.4"
mockito = "^1.5.0"
coverage = "^7.4.0"
ruff = "^0.2.1"
playwright = "^1.41.2"
pytest-playwright = "^0.4.4"
pytest-asyncio = "^0.23.3"
asgi-lifespan = "^2.1.0"
httpx-oauth = "^0.13.1"
pytest-mock = "^3.12.0"
bump2version = "^1.0.1"
black = "^24.8.0"
[tool.poetry.group.github-actions]
optional = true
# only used in github actions
[tool.poetry.group.github-actions.dependencies]
pytest-github-actions-annotate-failures = "^0.1.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.app"
[tool.pytest.ini_options]
pythonpath = [
".",
"./foundation",
"./modules",
]
filterwarnings = [
"ignore::DeprecationWarning:",
]
markers = [
"playwright: playwright web tests, requires a running app instance",
]
[tool.pyright]
include = [
"foundation",
"modules"
]
exclude = [
"**/node_modules",
"**/__pycache__",
]
ignore = [
"**/test/",
"conftest.py"
]
defineConstant = { DEBUG = true }
reportMissingImports = "error"
reportMissingTypeStubs = false
pythonVersion = "3.12"