-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 1.99 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
[project]
name = "ca-cdk-constructs"
version = "0.18.2"
description = "Shared CDK constructs"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Citizens Advice", email = "cloud.engineering@citizensadvice.org.uk" }]
dependencies = [
"cdk8s>=2.70.15,<3.0",
"constructs>=10.4,<11.0",
"cdk_remote_stack>=2.1,<3.0",
# aws-cdk-lib and aws-cdk-lambda-layer-kubectl-v* must be pinned to an exact version
# so that dependabot will change the constraint here as well as the lockfile.
# Downstream projects like eks-platform-cdk only use this constraint information,
# they don't use the lockfile in this project at all. Since the two lambda layers
# used in the EKS handlers are being instantiated in the downstream projects, the version
# locked by those projects is the one that matters.
"aws-cdk-lib==2.266.0",
"aws-cdk-lambda-layer-kubectl-v36==2.0.1",
]
[project.urls]
Homepage = "https://github.com/citizensadvice/ca-cdk-constructs"
Repository = "https://github.com/matthewcane/ca-cdk-constructs"
Issues = "https://github.com/citizensadvice/ca-cdk-constructs/issues"
Changelog = "https://github.com/citizensadvice/ca-cdk-constructs/releases"
[dependency-groups]
dev = [
"boto3-stubs[rds, secretsmanager] >=1.40.35",
"pytest>=8.4",
"syrupy>=4.9",
"ruff>=0.13.0",
"mypy>=1.18.2",
]
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "ca_cdk_constructs"
module-root = "."
[tool.ruff]
target-version = 'py313'
line-length = 95
exclude = ["ca_cdk_constructs/eks/imports"]
[tool.ruff.lint]
select = [
'C', # mccabe
'E', # pycodestyle
'F', # Pyflakes
'INP001', # flake8-no-pep420
'N', # pep8-naming
'W', # pycodestyle
'I' # Isort
]
ignore = [
'E501', # line-too-long
]
[tool.mypy]
python_version = '3.13'
[[tool.mypy.overrides]]
module = [
"publication"
]
ignore_missing_imports = true
[tool.ruff.lint.isort]
combine-as-imports = true