Addresses general improvements to all toolkits including changing ruff from python 3.9 to python 3.10 which is the reason for the removal of Optional[] among others. Also, turns out that our `make install` for toolkits wasn't correctly checking for whether poetry was installed (&> /dev/null syntax isn't supported by our check-toolkits GitHub action, so we were installing poetry twice. I replaced with the more portable >/dev/null 2>&1) Question: Should we also change ruff to py310 for the `arcade/` package in a later PR? ------------------- CU-86b4gzyp6
43 lines
914 B
TOML
43 lines
914 B
TOML
[tool.poetry]
|
|
name = "arcade_x"
|
|
version = "0.1.12"
|
|
description = "Arcade.dev LLM tools for X (Twitter)"
|
|
authors = ["Arcade <dev@arcade.dev>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
arcade-ai = ">=0.1,<2.0"
|
|
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,<2.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.mypy]
|
|
files = ["arcade_x/**/*.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
|