Stats Command¶
The stats command counts Python template strings without running lint
diagnostics.
Basic Usage¶
Output Formats¶
Human (default)¶
Files scanned: 12
Template strings: 34
typed: 30 (88.2%)
untyped: 4
By language:
html 18
sql 8
json 4
By detection method:
annotation 20
callee-inference 10
Top files by template count:
src/views.py 12
JSON¶
The JSON report includes totals, language counts, detection-method counts, and per-file template counts.
Exit Codes¶
| Code | Meaning |
|---|---|
0 |
Run completed successfully |
2 |
One or more inputs could not be read or parsed |