# PR Description
* Adds/updates the following files to all toolkits:
- `.pre-commit-config.yaml`
- `.ruff.toml`
- `LICENSE`
- `Makefile`
- `pyproject.toml`
* Lint all toolkits such that they pass `make check` and `make test` (a
total doozy). This includes adding some unit tests and evals.
* Github workflow for testing toolkits before merge into main (courtesy
of @sdreyer)
* Added a QOL improvement for tool developers for when they need to get
the context's auth token.
* Minor updates to `arcade new` template.
42 lines
917 B
TOML
42 lines
917 B
TOML
[tool.poetry]
|
|
name = "arcade_github"
|
|
version = "0.1.7"
|
|
description = "LLM tools for interacting with Github"
|
|
authors = ["Arcade AI <dev@arcade-ai.com>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
arcade-ai = "0.1.*"
|
|
httpx = "^0.27.2"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^8.3.0"
|
|
pytest-cov = "^4.0.0"
|
|
pytest-asyncio = "^0.24.0"
|
|
pytest-mock = "^3.11.1"
|
|
mypy = "^1.5.1"
|
|
pre-commit = "^3.4.0"
|
|
tox = "^4.11.1"
|
|
ruff = "^0.7.4"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.mypy]
|
|
files = ["arcade_github/**/*.py"]
|
|
python_version = "3.10"
|
|
disallow_untyped_defs = "True"
|
|
disallow_any_unimported = "True"
|
|
no_implicit_optional = "True"
|
|
check_untyped_defs = "True"
|
|
warn_return_any = "True"
|
|
warn_unused_ignores = "True"
|
|
show_error_codes = "True"
|
|
ignore_missing_imports = "True"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.coverage.report]
|
|
skip_empty = true
|