Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (57 loc) · 1.63 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (57 loc) · 1.63 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
[project]
name = "inventory-management-system-api"
description = "Python microservice providing an API for the Inventory Management System."
readme = "README.md"
requires-python = ">=3.14"
version = "5.0.2"
dependencies = [
"cryptography>=50.0.1",
"fastapi[all]>=0.138.0",
"pyjwt>=2.13.0",
"pymongo>=4.18.0",
"requests>=2.34.2",
"uvicorn>=0.52.4",
]
[project.urls]
"Repository" = "https://github.com/ral-facilities/inventory-management-system-api"
[tool.uv]
exclude-newer = "7 days"
[tool.uv.exclude-newer-package]
certifi = false
[tool.uv.sources]
inventory-management-system-api = { workspace = true }
[build-system]
requires = ["uv_build>=0.11.23,<0.14.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = "."
[project.scripts]
"ims" = "inventory_management_system_api.cli.main:main"
[dependency-groups]
code-analysis = [{ include-group = "test" }, "black>=26.5.1", "pylint>=4.0.8"]
test = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"pytest-cov>=7.1.0",
"pytest-env>=1.7.0",
]
scripts = ["faker>=40.38.0"]
dev = [
{ include-group = "code-analysis" },
{ include-group = "test" },
{ include-group = "scripts" },
]
[tool.coverage.run]
omit = [
# Exclude test code from coverage measurement
"test/*",
# Exclude migration scripts from coverage measurement
"inventory_management_system_api/migrations/scripts/*",
# Exclude routers from coverage measurement as they are tested in the e2e tests
"inventory_management_system_api/routers/v1/*",
]
[tool.setuptools.packages.find]
include = [
"inventory_management_system_api",
"inventory_management_system_api*",
]