-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
86 lines (75 loc) · 1.63 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
[tool.poetry]
name = "farm-docker"
version = "1.2.0"
description = "Backend API for farm-docker"
authors = ["Jonas Renault <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/jonasrenault/fastapi-react-mongodb-docker#readme"
repository = "https://github.com/jonasrenault/fastapi-react-mongodb-docker"
packages = [
{ include = "app" },
]
[tool.poetry.dependencies]
python = "^3.12"
requests = "^2.32.3"
pymongo = "^4.9.2"
fastapi = {extras = ["standard"], version = "^0.115.0"}
python-multipart = "^0.0.12"
motor = "^3.6.0"
pydantic = "^2.9.2"
email-validator = "^2.2.0"
python-jose = "^3.3.0"
passlib = "^1.7.4"
bcrypt = "4.0.1"
beanie = "^1.26.0"
python-dotenv = "^1.0.1"
fastapi-sso = "^0.15.0"
pydantic-settings = "^2.5.2"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
pre-commit = "^4.0.0"
httpx = "^0.27.2"
asgi-lifespan = "^2.1.0"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
ruff = "^0.6.9"
mypy = "^1.11.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line_length = 90
target_version = ['py312']
[tool.ruff]
exclude = [
".venv",
".git",
"__pycache__",
"build",
"dist",
"venv",
]
src = ["app", "tests"]
line-length = 90
[tool.ruff.lint]
ignore = []
select = [
"E",
"F",
"W",
"I001",
]
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
files = ["app", "tests"]
disable_error_code = ["import-untyped"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::UserWarning",
'ignore::DeprecationWarning',
]