Commit 06dd041
committed
docs: add fix hints and doc refs to coverage and MDX validation output
audit_coverage.py:
- Coverage miss section now shows a structured Fix:/Ref: block with the
exact generate-ast.py command and a link to CONTRIBUTING.md#validating-docstrings
- Missing symbols listed one per line (symbol indented under module) for
scannability instead of comma-joined on one long line
- Emit a ::error or ::warning GHA annotation with symbol/module counts
when coverage symbols are undocumented
validate.py:
- Add _CHECK_FIX_HINTS dict mapping each check label to a (fix text, ref URL)
pair, covering all 8 check types with specific fix instructions and links
into CONTRIBUTING.md (root or guide as appropriate)
- _print_check_errors now prints Fix:/Ref: under each section header,
matching the pattern established by _print_quality_report1 parent b32661e commit 06dd041
2 files changed
Lines changed: 86 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
446 | 451 | | |
447 | 452 | | |
448 | 453 | | |
| |||
865 | 870 | | |
866 | 871 | | |
867 | 872 | | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
868 | 879 | | |
869 | | - | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
870 | 883 | | |
| 884 | + | |
| 885 | + | |
871 | 886 | | |
872 | | - | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
873 | 899 | | |
874 | 900 | | |
875 | 901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
21 | 72 | | |
22 | 73 | | |
23 | 74 | | |
| |||
590 | 641 | | |
591 | 642 | | |
592 | 643 | | |
| 644 | + | |
593 | 645 | | |
594 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
595 | 651 | | |
596 | 652 | | |
597 | 653 | | |
| |||
0 commit comments