-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (46 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (46 loc) · 1.25 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aws-durable-execution-sdk-python-examples"
version = "0.0.0"
description = "Examples for AWS Durable Execution SDK for Python"
requires-python = ">=3.11"
dependencies = [
"aws-durable-execution-sdk-python",
"aws-durable-execution-sdk-python-testing",
]
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.hatch.envs.examples.scripts]
cli = "python cli.py {args}"
bootstrap = "python cli.py bootstrap"
generate-sam-template = "python scripts/generate_sam_template.py"
build = "python cli.py build"
deploy = "python cli.py deploy {args}"
invoke = "python cli.py invoke {args}"
get = "python cli.py get {args}"
history = "python cli.py history {args}"
policy = "python cli.py policy {args}"
list = "python cli.py list"
clean = "rm -rf build .aws-sam *.zip"
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
preview = true
select = ["TID252"] # Enforce absolute imports (ban relative imports)
[tool.ruff.lint.isort]
known-first-party = ["aws_durable_execution_sdk_python"]
force-single-line = false
lines-after-imports = 2
[tool.ruff.lint.per-file-ignores]
"test/**" = [
"ARG001",
"ARG002",
"ARG005",
"S101",
"PLR2004",
"SIM117",
"TRY301",
]