-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
93 lines (81 loc) · 1.74 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[project]
name = "farm-docker"
version = "1.3.0"
description = "Backend API for farm-docker"
readme = "README.md"
license = { text = "MIT" }
authors = [
{name = "Jonas Renault", email = "[email protected]"},
]
requires-python = ">=3.12"
dependencies = [
"requests>=2.32.3",
"pymongo>=4.13.0",
"fastapi[standard]>=0.115.12",
"python-multipart>=0.0.20",
"motor>=3.7.1",
"pydantic>=2.11.4",
"email-validator>=2.2.0",
"python-jose>=3.4.0",
"passlib>=1.7.4",
"bcrypt>=4.3.0",
"beanie>=1.29.0",
"python-dotenv>=1.1.0",
"fastapi-sso>=0.18.0",
"pydantic-settings>=2.9.1",
]
[project.urls]
"Homepage" = "https://github.com/jonasrenault/fastapi-react-mongodb-docker#readme"
"Repository" = "https://github.com/jonasrenault/fastapi-react-mongodb-docker"
[dependency-groups]
dev = [
"asgi-lifespan>=2.1.0",
"black>=25.1.0",
"httpx>=0.28.1",
"mypy>=1.15.0",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"ruff>=0.11.10",
]
[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.isort]
known_first_party = ["app"]
[tool.mypy]
files = ["app", "tests"]
disable_error_code = ["import-untyped"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::UserWarning",
'ignore::DeprecationWarning',
]