Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 1.98 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (69 loc) · 1.98 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 = "stacklet.client.sinistral"
version = "0.5.39.1"
description = "Sinistral CLI"
maintainers = [ { name = "Stacklet Engineering", email = "foss+sinistral-cli@stacklet.io" } ]
authors = [ { name = "Stacklet Engineering", email = "foss+sinistral-cli@stacklet.io" } ]
requires-python = ">=3.10.2,<4"
readme = "README.md"
license = "Apache-2.0"
dependencies = [
"c7n-left==0.3.39",
# We pin to the exact versions used by c7n for compatibility purposes
"botocore==1.43.103",
"boto3==1.43.103",
# Other dependencies
"click>=8.1.3,<9",
"codecov-cli>=11.1.0,<12",
"jmespath>=1.0.1,<2",
"jsonschema>=4.17.3,<5",
"pyjwt>=2.6.0,<3",
"pyrsistent>=0.20,<0.21",
"pyyaml~=6.0",
"requests>=2.28.2,<3",
]
[project.scripts]
sinistral = "stacklet.client.sinistral.cli:main"
[dependency-groups]
dev = [
"coverage>=7.2.0,<8",
"ipdb>=0.13.13,<0.14",
"jsonref>=1.1.0,<2",
"moto[cognitoidp]>=5,<6",
"packaging>=26,<27",
"pre-commit>=4.3.0,<5",
"pytest-cov>=7,<8",
"pytest>=8,<9",
"python-jose>=3.3.0,<4",
"ruff>=0.13.0",
"tomlkit>=0.13.2,<0.14",
]
[tool.uv]
exclude-newer = "7 days"
# TEMPORARY: no cooldown for certifi, to take 2026.10.19 early.
# Remove on the next certifi upgrade.
exclude-newer-package = { certifi = false }
[tool.hatch.build.targets.sdist]
include = ["stacklet"]
[tool.hatch.build.targets.wheel]
include = ["stacklet"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
filterwarnings = [
# c7n uses deprecated datetime.utcnow()
"ignore:datetime.datetime.utcnow:DeprecationWarning:c7n",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
# Add `line-too-long` and isort to the enforced rule set.
extend-select = ["E501", "I"]
[tool.ruff.lint.per-file-ignores]
# Also ignore `E402` in all `__init__.py` files.
"__init__.py" = ["E402"]
[tool.ruff.lint.isort]
# Use a single line between direct and from import.
lines-between-types = 1
lines-after-imports = 2