Consider pathlib
robertu94 opened this issue · 2 comments
robertu94 commented
Line 51 in 131832a
This could be written as:
from pathlib import Path
defaults = set([“.git”, “skel”])
return (p for p in Path.cwd().glob(“**/config.ini) if not defaults & set(p.parts))
nbulischeck commented
@robertu94 Closed?
robertu94 commented
LGTM