athul / waka-readme

Wakatime Weekly Metrics on your Profile Readme.
https://github.com/athul
MIT License
1.52k stars 301 forks source link

Ignore "language names" with spaces in-between #155

Closed Poisonlocket closed 5 months ago

Poisonlocket commented 5 months ago

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

yozachar commented 5 months ago
 IGNORED_LANGUAGES: YAML "GitIgnore file" TOML
Poisonlocket commented 5 months ago
 IGNORED_LANGUAGES: YAML "GitIgnore file" TOML

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

Poisonlocket commented 5 months ago

image image

yozachar commented 5 months ago

https://github.com/athul/waka-readme/blob/a359b8d3e969e8b68018a187f10d1a22e45dffe5/main.py#L318

Right, this needs to be improved.

Poisonlocket commented 5 months ago

https://github.com/athul/waka-readme/blob/a359b8d3e969e8b68018a187f10d1a22e45dffe5/main.py#L318

Right, this needs to be improved.

I'd be more than happy to fix this

yozachar commented 5 months ago

PR is welcome.

Poisonlocket commented 5 months ago

PR is welcome.

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

yozachar commented 5 months ago

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

Poisonlocket commented 5 months ago

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.