athul / waka-readme

Wakatime Weekly Metrics on your Profile Readme.

Home Page:https://github.com/athul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore "language names" with spaces in-between

Poisonlocket opened this issue · comments

considering it has a space im not sure how to ignore it in the YAML format in the config.

 IGNORED_LANGUAGES: YAML "GitIgnore file" TOML
 IGNORED_LANGUAGES: YAML "GitIgnore file" TOML

Ive already tried that, doesnt seem to work, verified it with the config

ignored_languages = set[str](igl.lower() for igl in wk_i.ignored_languages.strip().split())

Right, this needs to be improved.

ignored_languages = set[str](igl.lower() for igl in wk_i.ignored_languages.strip().split())

Right, this needs to be improved.

I'd be more than happy to fix this

PR is welcome.

PR is welcome.

Its probably not possible to keep it the way but if i update it with comma separation its possible

Coma separation will work, but you might not want to upset no idea how many of those ~7k users use the IGNORED_LANGUAGES flag.

image

Coma separation will work, but you might not want to upset no idea how many of those ~7k users use the IGNORED_LANGUAGES flag.

image

Makes sense, will probably just take all the languages received from Wakatime and if I find it in the Ignored langs string I'll strip it.