Side effect in check_arxiv_published
Opened this issue · 0 comments
johngarg commented
Hi,
Currently the check_arxiv_published
function prints a message if the arXiv item cannot be found:
arxivcheck/arxivcheck/arxiv.py
Line 238 in 86d3dd8
I am using this function in another project and want to control the messages printed to the terminal. Since the first element of the returned tuple contains the "found" status of the item, could I suggest adding a verbose flag with a default True value? This shouldn't affect any existing use of the function, and would allow it to be called without the side effect.
I've already made the changes in my fork of the repo, and can submit the pull request if the maintainers are happy.
Thanks!