generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (70 loc) · 2 KB
/
pyproject.toml
File metadata and controls
83 lines (70 loc) · 2 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "strands-agents-sops"
dynamic = ["version"]
description = "Natural language workflows that enable AI agents to perform complex, multi-step tasks with consistency and reliability"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
dependencies = [
"mcp>=1.20.0",
]
[project.scripts]
strands-agents-sops = "strands_agents_sops.__main__:main"
[tool.hatch.envs.default]
dependencies = [
"ruff",
]
[tool.hatch.envs.default.scripts]
format = "ruff format ."
lint = "ruff check ."
lint-fix = "ruff check --fix ."
clean = [
"find . -name '__pycache__' -type d | xargs rm -rf",
"rm -rf strands_agents_sops/rules",
"rm -rf strands_agents_sops/sops",
"rm -rf dist",
"rm -rf build",
"rm -rf .pytest_cache",
"rm -rf .ruff_cache",
"rm -rf *.egg-info"
]
[tool.hatch.envs.hatch-test]
dependencies = [
"pytest",
"pytest-cov",
]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.10", "3.11", "3.12"]
[tool.hatch.build.targets.wheel]
include = [
"strands_agents_sops/__init__.py",
"strands_agents_sops/__main__.py",
"strands_agents_sops/cursor.py",
"strands_agents_sops/skills.py",
"strands_agents_sops/rules.py",
"strands_agents_sops/utils.py",
"strands_agents_sops/mcp/__init__.py",
"strands_agents_sops/mcp/server.py",
"strands_agents_sops/sops/*.md",
"strands_agents_sops/rules/*.md"
]
[tool.hatch.build.hooks.custom]
path = "copy_agent_sops_hook.py"
[tool.hatch.version]
source = "vcs"
raw-options = { search_parent_directories = true }
[tool.pytest.ini_options]
addopts = "--cov=strands_agents_sops --cov-report=term-missing --cov-report=html:build/htmlcov --cov-report=xml:build/coverage.xml --cov-fail-under=80"
testpaths = ["tests"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"