pypandoc icon indicating copy to clipboard operation
pypandoc copied to clipboard

Refactor Duplicate Code in _identify_path Function

Open zvaad opened this issue 1 year ago • 1 comments

• Refactored the _identify_path function to remove redundant code and improve readability. • Consolidated logic for path resolution and network path checking to avoid duplication. • Simplified handling of lists using Python's all() function for better clarity. This change ensures cleaner and more maintainable code without altering functionality.

zvaad avatar Nov 19 '24 14:11 zvaad

hey @zvaad thank you for the pr. So we have some CI failing, so idially a refactor should not make any tests break. Could you take another look at it?

JessicaTegner avatar Dec 01 '24 10:12 JessicaTegner