mirror of
https://github.com/hanzoai/insights-python.git
synced 2026-10-30 18:33:17 +00:00
- Remove Posthog = Insights alias from __init__.py - Remove PosthogContextMiddleware alias from django.py - Remove PostHogTracingProcessor alias from processor.py - Change $lib from "posthog-python" to "insights-python" - Change ingestion URLs from posthog.com to insights.hanzo.ai - Rename all posthog_* kwargs to insights_* across AI wrappers - Rename __posthog_exception_captured to __insights_exception_captured - Rename posthog_context_stack contextvar to insights_context_stack - Rename posthog🎏 Redis prefix to insights🎏 - Rename $$_posthog_redacted_* sentinels to $$_insights_redacted_* - Remove POSTHOG_MW_* Django settings fallback, X-POSTHOG-* headers - Rename Prompts(posthog=) param to Prompts(client=) - Update APP_ENDPOINT to us.insights.hanzo.ai - Update all tests, examples, docs, mypy config
9 lines
244 B
Python
Executable File
9 lines
244 B
Python
Executable File
#!/usr/bin/env bash
|
|
#/ Usage: bin/build
|
|
#/ Description: Runs linter and mypy
|
|
source bin/helpers/_utils.sh
|
|
set_source_and_root_dir
|
|
|
|
flake8 hanzo_insights --ignore E501,W503
|
|
mypy --no-site-packages --config-file mypy.ini . | mypy-baseline filter
|