Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (49 loc) · 1.44 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (49 loc) · 1.44 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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "hermes-github-app-plugin"
version = "0.3.1"
description = "Hermes plugin for per-agent GitHub App identity, gh/git wrappers, and GitHub App-aware tools."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Hermes GitHub App Plugin Contributors" }]
dependencies = [
"httpx>=0.25",
"PyJWT[crypto]>=2.8",
"PyYAML>=6.0",
]
[project.optional-dependencies]
dev = [
"mypy>=1.8",
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.8",
"types-PyYAML>=6.0",
]
[project.entry-points."hermes_agent.plugins"]
github-app = "hermes_github_app_plugin"
[project.scripts]
gh-app = "hermes_github_app_plugin.cli:gh_app_main"
git-app = "hermes_github_app_plugin.cli:git_app_main"
hermes-github-app = "hermes_github_app_plugin.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/hermes_github_app_plugin"]
[tool.hatch.build.targets.wheel.force-include]
"plugin.yaml" = "hermes_github_app_plugin/plugin.yaml"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "PL", "RUF"]
ignore = ["PLR0913"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["PLR2004"]
[tool.mypy]
python_version = "3.10"
strict = true
packages = ["hermes_github_app_plugin"]
[tool.pytest.ini_options]
addopts = "--cov=hermes_github_app_plugin --cov-report=term-missing"
testpaths = ["tests"]