forked from aws/aws-durable-execution-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (72 loc) · 2.48 KB
/
pyproject.toml
File metadata and controls
86 lines (72 loc) · 2.48 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
81
82
83
84
85
86
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aws-durable-execution-sdk-python"
dynamic = ["version"]
description = 'AWS Durable Execution SDK for Python'
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
keywords = []
authors = [{ name = "yaythomas", email = "tgaigher@amazon.com" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["boto3>=1.42.1"]
[project.urls]
Documentation = "https://github.com/aws/aws-durable-execution-sdk-python#readme"
Issues = "https://github.com/aws/aws-durable-execution-sdk-python/issues"
Source = "https://github.com/aws/aws-durable-execution-sdk-python"
[tool.hatch.build.targets.wheel]
packages = ["src/aws_durable_execution_sdk_python"]
[tool.hatch.version]
path = "src/aws_durable_execution_sdk_python/__about__.py"
[tool.hatch.envs.test]
dependencies = ["coverage[toml]", "pytest", "pytest-cov"]
[tool.hatch.envs.test.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=src/aws_durable_execution_sdk_python --cov-fail-under=98"
[tool.hatch.envs.types]
extra-dependencies = ["mypy>=1.0.0", "pytest", "boto3-stubs[lambda]"]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/aws_durable_execution_sdk_python tests}"
[tool.coverage.run]
source_pkgs = ["aws_durable_execution_sdk_python"]
branch = true
parallel = true
omit = ["src/aws_durable_execution_sdk_python/__about__.py"]
[tool.coverage.paths]
aws_durable_execution_sdk_python = [
"src/aws_durable_execution_sdk_python",
"*/aws-durable-execution-sdk-python/src/aws_durable_execution_sdk_python",
]
[tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]
[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]
"tests/**" = [
"ARG001",
"ARG002",
"ARG005",
"S101",
"PLR2004",
"PLR6301",
"SIM117",
"TRY301",
]