Commit Graph
2 Commits
Author SHA1 Message Date
Tirsvad b8e63d0a29 Add the comment extractor and the language detector of the English-comments check
tools/english_comments.py reads the comments and docstrings of the languages of
ADR-0010 (the scanner of count_loc.py now returns the comment text), joins the
lines of a block, removes everything that is not a word and judges the block
with langid (ADR-0012). It checks the lines a branch adds, or every tracked
file, honours an ignore marker and an allowed-words file, and prints each
finding as an annotation. The rates of the corpus are tests.

Refs #199
Refs #200
Refs #203
Task: MIL-013#3
Task: MIL-013#4
2026-10-19 12:34:00 +08:00
Tirsvad 5bc14d789d MIL-010 tasks 4 and 5: counter, coverage reader and badge renderer
Task: MIL-010#4
Task: MIL-010#5
Refs #158
Refs #159
2026-10-14 13:48:04 +08:00