pr_body.py

View code on Github

Generate a formatted PR body describing missing features for each language.

scribe_data.check.check_missing_forms.pr_body.pr_body(missing_features: dict) str[source]

Generate a formatted PR body describing missing features for each language.

Parameters:
missing_featuresdict

Dictionary mapping language QIDs to their missing features. Format: {language_qid: {feature_type: [features]}}.

Returns:
str

Formatted PR body content in markdown format containing a table of missing features grouped by language.

Notes

The PR body includes: - A header indicating this is an automated PR - A table showing languages and their missing feature types - Features are grouped by language for better readability