mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
Mechanically re-derived: bin/debrand runs over a fresh import of posthog/posthog@fa1a9a60d4 (2026-08-06). The pipeline (.hanzo/workflows), the Dockerfiles and bin/docker* entrypoints, compose files, LLM.md and the squashed initial migration are restored from the shipped tree, same as the previous import. The prune's import-closure guard kept 21 products the new core now imports; dropping them is a refactor now, recorded rather than forced.
116 lines
3.7 KiB
TOML
116 lines
3.7 KiB
TOML
extend = "../pyproject.toml"
|
|
src = [".."]
|
|
|
|
[lint]
|
|
extend-select = ["ANN001", "ANN201", "ANN202", "ANN204"]
|
|
|
|
[lint.per-file-ignores]
|
|
"**/tests/**" = ["ANN"]
|
|
"**/test_*" = ["ANN"]
|
|
"**/migrations/**" = ["ANN"]
|
|
"**/management/**" = ["ANN"]
|
|
"**/skills/**" = ["ANN"]
|
|
"**/eval/**" = ["ANN"]
|
|
"**/evals/**" = ["ANN"]
|
|
"**/dags/**" = ["ANN"]
|
|
"**/scripts/**" = ["ANN"]
|
|
"**/stats/**" = ["ANN"]
|
|
|
|
# Temporarily exempted — too many violations to fix in one pass.
|
|
# Run: ruff check products/<name>/backend --select ANN --statistics
|
|
# to check remaining count before removing the exemption.
|
|
"actions/backend/**" = ["ANN"]
|
|
"alerts/backend/**" = ["ANN"]
|
|
"annotations/backend/**" = ["ANN"]
|
|
"approvals/backend/**" = ["ANN"]
|
|
"batch_exports/backend/**" = ["ANN"]
|
|
"cdp/backend/**" = ["ANN"]
|
|
"cohorts/backend/**" = ["ANN"]
|
|
"conversations/backend/**" = ["ANN"]
|
|
"customer_analytics/backend/**" = ["ANN"]
|
|
"dashboards/backend/**" = ["ANN"]
|
|
"data_modeling/backend/**" = ["ANN"]
|
|
"data_tools/backend/**" = ["ANN"]
|
|
"data_warehouse/backend/**" = ["ANN"]
|
|
"demo/backend/**" = ["ANN"]
|
|
"early_access_features/backend/**" = ["ANN"]
|
|
"endpoints/backend/**" = ["ANN"]
|
|
"error_tracking/backend/**" = ["ANN"]
|
|
"experiments/backend/**" = ["ANN"]
|
|
"exports/backend/**" = ["ANN"]
|
|
"feature_flags/backend/**" = ["ANN"]
|
|
"ai_observability/backend/**" = ["ANN"]
|
|
"logs/backend/**" = ["ANN"]
|
|
"managed_migrations/backend/**" = ["ANN"]
|
|
"managed_warehouse/backend/**" = ["ANN"]
|
|
"marketing_analytics/backend/**" = ["ANN"]
|
|
"messaging/backend/**" = ["ANN"]
|
|
"notebooks/backend/**" = ["ANN"]
|
|
"insights_ai/eval_harness/**" = ["ANN"]
|
|
"product_analytics/backend/**" = ["ANN"]
|
|
"product_tours/backend/**" = ["ANN"]
|
|
"revenue_analytics/backend/**" = ["ANN"]
|
|
"signals/backend/**" = ["ANN"]
|
|
"surveys/backend/**" = ["ANN"]
|
|
"tasks/backend/**" = ["ANN"]
|
|
"visual_review/backend/**" = ["ANN"]
|
|
"web_analytics/backend/**" = ["ANN"]
|
|
"warehouse_sources/backend/**" = ["ANN"]
|
|
"workflows/backend/**" = ["ANN"]
|
|
|
|
# PLC0415 exemptions. New products not listed here are enforced.
|
|
# Run `ruff check <product>/ --select PLC0415 --statistics` before removing an entry.
|
|
"access_control/**" = ["PLC0415"]
|
|
"actions/**" = ["PLC0415"]
|
|
"alerts/**" = ["PLC0415"]
|
|
"analytics_platform/**" = ["PLC0415"]
|
|
"annotations/**" = ["PLC0415"]
|
|
"approvals/**" = ["PLC0415"]
|
|
"batch_exports/**" = ["PLC0415"]
|
|
"business_knowledge/**" = ["PLC0415"]
|
|
"cdp/**" = ["PLC0415"]
|
|
"cohorts/**" = ["PLC0415"]
|
|
"conversations/**" = ["PLC0415"]
|
|
"customer_analytics/**" = ["PLC0415"]
|
|
"dashboards/**" = ["PLC0415"]
|
|
"data_modeling/**" = ["PLC0415"]
|
|
"data_tools/**" = ["PLC0415"]
|
|
"data_warehouse/**" = ["PLC0415"]
|
|
"demo/**" = ["PLC0415"]
|
|
"deployments/**" = ["PLC0415"]
|
|
"early_access_features/**" = ["PLC0415"]
|
|
"endpoints/**" = ["PLC0415"]
|
|
"error_tracking/**" = ["PLC0415"]
|
|
"experiments/**" = ["PLC0415"]
|
|
"exports/**" = ["PLC0415"]
|
|
"feature_flags/**" = ["PLC0415"]
|
|
"growth/**" = ["PLC0415"]
|
|
"legal_documents/**" = ["PLC0415"]
|
|
"links/**" = ["PLC0415"]
|
|
"live_debugger/**" = ["PLC0415"]
|
|
"ai_observability/**" = ["PLC0415"]
|
|
"logs/**" = ["PLC0415"]
|
|
"managed_migrations/**" = ["PLC0415"]
|
|
"managed_warehouse/**" = ["PLC0415"]
|
|
"marketing_analytics/**" = ["PLC0415"]
|
|
"mcp_analytics/**" = ["PLC0415"]
|
|
"mcp_store/**" = ["PLC0415"]
|
|
"messaging/**" = ["PLC0415"]
|
|
"notebooks/**" = ["PLC0415"]
|
|
"notifications/**" = ["PLC0415"]
|
|
"insights_ai/**" = ["PLC0415"]
|
|
"product_analytics/**" = ["PLC0415"]
|
|
"product_tours/**" = ["PLC0415"]
|
|
"replay_vision/**" = ["PLC0415"]
|
|
"revenue_analytics/**" = ["PLC0415"]
|
|
"signals/**" = ["PLC0415"]
|
|
"slack_app/**" = ["PLC0415"]
|
|
"streamlit_apps/**" = ["PLC0415"]
|
|
"surveys/**" = ["PLC0415"]
|
|
"tasks/**" = ["PLC0415"]
|
|
"tracing/**" = ["PLC0415"]
|
|
"user_interviews/**" = ["PLC0415"]
|
|
"visual_review/**" = ["PLC0415"]
|
|
"warehouse_sources/**" = ["PLC0415"]
|
|
"web_analytics/**" = ["PLC0415"]
|