-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (66 loc) · 1.66 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (66 loc) · 1.66 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
[project]
name = "datagateway-api"
version = "11.0.0"
description = "ICAT API to interface with the DataGateway"
authors = [{ name = "Joshua Kitenge", email = "joshua.kitenge@stfc.ac.uk" },
{ name = "Matthew Richards", email = "matthew.richards@stfc.ac.uk" }]
requires-python = ">=3.11,<4"
readme = "README.md"
license = "Apache-2.0"
dependencies = [
"PyYAML>=6.0,<7",
"python-icat>=1.0.0",
"suds-community>=1.2.0,<1.3",
"py-object-pool>=1.1,<2",
"cachetools>=7.1.5,<8",
"requests>=2.25.1,<3",
"python-dateutil>=2.8.1,<3",
"fastapi[all]>=0.139.2",
]
[project.urls]
Repository = "https://github.com/ral-facilities/datagateway-api"
[tool.uv.sources]
datagateway_api = { workspace = true }
[tool.uv]
exclude-newer = "7 days"
[tool.uv.build-backend]
module-root = "."
[build-system]
requires = ["uv_build>=0.11.31,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
code-analysis = [
{ include-group = "test" },
"black>=26.5.1,<27",
"flake8>=7.1.1,<8",
"flake8-bandit>=4.1.1,<5",
"flake8-black>=0.4.0,<0.5",
"flake8-broken-line>=1.0.0,<2",
"flake8-bugbear>=25.11.29,<26",
"flake8-builtins>=3.1.0,<4",
"flake8-commas>=4.0.0,<5",
"flake8-comprehensions>=3.15.0,<4",
"pep8-naming>=0.15.1,<0.16",
]
test = [
"pytest>=9.1.1,<10",
"coverage>=7.15.2,<8",
"pytest-cov>=7.1.0,<8",
"pytest-icdiff>=0.9,<0.10",
]
scripts = [
"pip-tools>=7.6.0",
"Faker>=8.5.1",
]
dev = [
{ include-group = "code-analysis" },
{ include-group = "test" },
{ include-group = "scripts" },
]
[tool.coverage.run]
omit = [
"test/*",
]
[tool.black]
target-version = ["py311"]
line-length = 120