-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (49 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
58 lines (49 loc) · 1.37 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
[project]
name = "inventory-management-system-api"
description = "Python microservice providing an API for the Inventory Management System."
readme = "README.md"
requires-python = ">=3.13"
version = "3.1.0"
dependencies = [
"cryptography",
"fastapi[all]",
"PyJWT",
"pymongo",
"requests",
"uvicorn"
]
[project.urls]
"Repository" = "https://github.com/ral-facilities/inventory-management-system-api"
[project.scripts]
"ims" = "inventory_management_system_api.cli.main:main"
[project.optional-dependencies]
code-analysis = [
"black==26.1.0",
"pylint==4.0.5",
"inventory-management-system-api[test]"
]
test = [
"pytest==9.0.2",
"pytest-asyncio==1.3.0",
"pytest-cov==7.0.0",
"pytest-env==1.5.0"
]
scripts = [
"faker==40.4.0"
]
dev = [
"inventory-management-system-api[code-analysis]",
"inventory-management-system-api[test]",
"inventory-management-system-api[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*"]