gleitz / howdoi

instant coding answers via the command line
http://blog.gleitzman.com/post/43330157197/howdoi-instant-coding-answers-via-the-command-line
MIT License
10.56k stars 867 forks source link

Function `_format_url_to_filename` only used in tests #466

Closed vbuxbaum closed 1 year ago

vbuxbaum commented 1 year ago

Description

I was studying the codebase, and found out that the function _format_url_to_filename in file howdoi/howdoi.py is defined but used only in tests.

The proposal here is to move this function from its current file to test_howdoi.py.

Additional Comments (if any)

Have you read the Contributing Guidelines on Pull Requests on mkdocs?

(Write your answer here.)

vbuxbaum commented 1 year ago

Hi @gleitz! Hope you are doing fine

Since this is a simple refactoring issue, can I be assigned to it?

gleitz commented 1 year ago

Sure thing!