Skip to content

Remove module level findfont in font_manager#505

Merged
kitchoi merged 1 commit into
masterfrom
remove-module-level-findfont
Dec 16, 2020
Merged

Remove module level findfont in font_manager#505
kitchoi merged 1 commit into
masterfrom
remove-module-level-findfont

Conversation

@kitchoi
Copy link
Copy Markdown
Contributor

@kitchoi kitchoi commented Dec 16, 2020

Closes #497

The module level kiva.fonttools.font_manager.findfont function is believed to be unused.

Note that the functionality of FontManager.findfont is used via the Font.findfont method, where Font is a public facing API. That functionality has been tested in kiva.fonttools.tests.test_font.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 16, 2020

Codecov Report

Merging #505 (ed17252) into master (c49fe80) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #505      +/-   ##
==========================================
- Coverage   30.66%   30.62%   -0.04%     
==========================================
  Files         206      206              
  Lines       17833    17830       -3     
  Branches     2454     2454              
==========================================
- Hits         5468     5461       -7     
- Misses      12034    12036       +2     
- Partials      331      333       +2     
Impacted Files Coverage Δ
kiva/fonttools/font_manager.py 55.79% <ø> (-0.82%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c49fe80...ed17252. Read the comment docs.

Copy link
Copy Markdown
Member

@jwiggins jwiggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kitchoi kitchoi merged commit f83869e into master Dec 16, 2020
@kitchoi kitchoi deleted the remove-module-level-findfont branch December 16, 2020 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove findfont module-level function in kiva.fonttools.font_manager

3 participants