-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (55 loc) · 1.4 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (55 loc) · 1.4 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
[project]
name = "object-storage-api"
description = "Python microservice providing an API for handling attachments and images in an S3 object store."
readme = "README.md"
requires-python = ">=3.14"
version = "1.4.2"
dependencies = [
"cryptography>=50.0.1",
"fastapi[all]>=0.139.0",
"pyjwt>=2.13.0",
"pymongo>=4.18.0",
"boto3>=1.43.88",
"pillow>=12.3.0",
]
[project.urls]
Repository = "https://github.com/ral-facilities/object-storage-api"
[tool.uv]
exclude-newer = "7 days"
[tool.uv.sources]
object-storage-api = { workspace = true }
[build-system]
requires = ["uv_build>=0.11.28,<0.13.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = "."
[dependency-groups]
code-analysis = [{ include-group = "test" }, "black>=26.3.1", "pylint>=4.0.8"]
test = [
"pytest>=9.1.1",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"pytest-env>=1.7.0",
"requests>=2.33.1",
]
scripts = [
"faker>=40.38.0",
"faker-file[pdf,docx,images]>=0.19.1",
]
dev = [
{ include-group = "code-analysis" },
{ include-group = "test" },
{ include-group = "scripts" },
]
[tool.coverage.run]
omit = [
# Exclude test code from coverage measurement
"test/*",
# Exclude routers from coverage measurement as they are tested in the e2e tests
"object_storage_api/v1/*",
]
[tool.setuptools.packages.find]
include = [
"object_storage_api",
"object_storage_api*",
]