-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.52 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (64 loc) · 1.52 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
[project]
name = "fmanagement"
version = "0.1.0"
description = "File storage service: upload, list, download and delete user-owned files."
readme = "README.md"
requires-python = "==3.14.3"
dependencies = [
"fastapi>=0.128.0",
"uvicorn[standard]>=0.31.1",
"starlette>=0.40.0",
"pydantic[email]>=2.12.5",
"motor>=3.7.1",
"pymongo>=4.10.1",
"aioboto3>=13.2.0",
"python-multipart>=0.0.20",
"python-jose[cryptography]>=3.3.0",
"bcrypt>=4.1.0",
"colorlog>=6.10.1",
"pyyaml>=6.0.2",
"filetype>=1.2.0",
]
[project.scripts]
scenarios = "scripts.scenarios:main"
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=0.24.0",
"httpx>=0.28.1",
"ruff>=0.11.0",
"ty>=0.0.32",
"mongomock-motor>=0.0.34",
"moto[s3,server]>=5.0.0",
"testcontainers>=4.0.0",
"boto3>=1.34.0",
"pymongo>=4.10.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["fmanagement", "scripts"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"integration: end-to-end / API integration tests",
]
[tool.ruff]
target-version = "py314"
line-length = 100
extend-exclude = ["logs", ".venv", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
]
ignore = [
"E501", # line-too-long (handled by formatter)
]
[tool.ty.src]
include = ["fmanagement", "main.py"]
[tool.ty.rules]
unresolved-import = "ignore"