mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
0558b14525
[why] Cognitive burden of shorten_style_name() is 13 (allowed 9). Duplicate code if self.use_short_families[1]: weights = FontnameTools.short_styles(weights) styles = FontnameTools.short_styles(styles) [how] I do not really buy the duplicate code issue (but circumvent it anyway). shorten_style_name() was really hard to grasp, maybe use of a helper function makes it more readable. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de> |
||
---|---|---|
.. | ||
scripts |