50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "forja"
|
|
version = "0.1.0"
|
|
description = "Plataforma profesional de gobernanza de agentes IA"
|
|
requires-python = ">=3.11"
|
|
authors = [{name = "Juan", email = "jm0x@proton.me"}]
|
|
|
|
[project.dependencies]
|
|
httpx = ">=0.27,<0.28"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["core/src", "common/src"]
|
|
namespaces = false
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM", "ASYNC", "RUF"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["forja_core", "forja_common"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
plugins = ["pydantic.mypy"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["guardrails.*", "presidio_analyzer.*", "nemoguardrails.*", "langgraph.*", "yaml", "jsonschema"]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
addopts = "-ra -q --strict-markers"
|
|
pythonpath = ["core/src", "common/src"]
|
|
markers = [
|
|
"integration: integration tests (slower, may touch FS)",
|
|
]
|