diff --git a/sources/graphics_list_formatter.py b/sources/graphics_list_formatter.py index d7c0a28b..6c7d80d2 100644 --- a/sources/graphics_list_formatter.py +++ b/sources/graphics_list_formatter.py @@ -130,9 +130,10 @@ def make_language_per_repo_list(repositories: Dict) -> str: language_count = dict() repos_with_language = [repo for repo in repositories if repo["primaryLanguage"] is not None] for repo in repos_with_language: - language = repo["primaryLanguage"]["name"] - language_count[language] = language_count.get(language, {"count": 0}) - language_count[language]["count"] += 1 + if repo["name"] not in EM.IGNORED_REPOS: + language = repo["primaryLanguage"]["name"] + language_count[language] = language_count.get(language, {"count": 0}) + language_count[language]["count"] += 1 names = list(language_count.keys()) texts = [f"{language_count[lang]['count']} {'repo' if language_count[lang]['count'] == 1 else 'repos'}" for lang in names]