sscorp/ecosystem-intel
0
1[tool.ruff]2line-length = 1003target-version = "py311"4 5[tool.ruff.lint]6select = [7 "E", # pycodestyle errors8 "W", # pycodestyle warnings9 "F", # pyflakes10 "I", # isort11 "N", # pep8-naming12 "UP", # pyupgrade13 "B", # flake8-bugbear14 "SIM", # flake8-simplify15 "RUF", # ruff-specific16]17 18[tool.ruff.lint.isort]19known-first-party = ["app"]20 21[tool.pytest.ini_options]22testpaths = ["backend/tests"]23asyncio_mode = "strict"24 25[tool.pylint.main]26py-version = "3.11"27# cognee is an optional heavy dep by design (mock boot without it, ADR-0008);28# don't fail the lint gate on machines where only the mock stack is installed.29ignored-modules = ["cognee", "cognee.modules"]30 31[tool.pylint.format]32max-line-length = 10033 34[tool.pylint."messages control"]35# Each disable is a deliberate project convention, not a shortcut:36# broad-exception-caught - fail-soft boundaries are the design (ADR-0008):37# the demo must never hard-crash on stage.38# import-outside-toplevel - cognee/ingest are imported lazily so the app can39# boot in mock mode without heavy deps installed.40# too-few-public-methods - pydantic models are data containers.41disable = [42 "broad-exception-caught",43 "import-outside-toplevel",44 "too-few-public-methods",45]46 