Quality check
quality_check
Quality-check hook for protocol pre-hook injection.
QualityCheckHook
Run audit categories and report violations as hook metadata.
Source code in packages/axm-audit/src/axm_audit/hooks/quality_check.py
execute(context, **params)
Run audit on a project directory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
context
|
dict[str, Any]
|
Hook context with |
required |
**params
|
Any
|
Optional |
{}
|
Returns:
| Type | Description |
|---|---|
HookResult
|
HookResult with |
HookResult
|
Each violation is expanded from inner error lists when available |
HookResult
|
( |
HookResult
|
Checks without inner lists produce a single fallback violation. |