añadido guidelines de karpathy y repensado del proyecto

This commit is contained in:
2026-05-25 19:28:58 +02:00
parent 8c594f8ddf
commit d95ed15766
51 changed files with 637 additions and 1215 deletions
+3 -11
View File
@@ -12,11 +12,8 @@ authors = [{name = "Juan", email = "jm0x@proton.me"}]
[project.dependencies]
httpx = ">=0.27,<0.28"
[project.optional-dependencies]
web = ["nicegui>=2.0"]
[tool.setuptools.packages.find]
where = ["core/src", "common/src", "web/src"]
where = ["core/src", "common/src"]
namespaces = false
[tool.ruff]
@@ -27,13 +24,8 @@ target-version = "py311"
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM", "ASYNC", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
# Streamlit exige que las páginas se llamen "<n>_<emoji>_<Label>.py" para la
# navegación multipágina; eso choca con N999 (nombre de módulo no válido).
"dashboard/src/forja_dashboard/pages/*" = ["N999"]
[tool.ruff.lint.isort]
known-first-party = ["forja_core", "forja_dashboard", "forja_common", "forja_web"]
known-first-party = ["forja_core", "forja_common"]
[tool.mypy]
python_version = "3.11"
@@ -51,7 +43,7 @@ ignore_missing_imports = true
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-ra -q --strict-markers"
pythonpath = ["core/src", "dashboard/src", "common/src", "web/src"]
pythonpath = ["core/src", "common/src"]
markers = [
"integration: integration tests (slower, may touch FS)",
]