add test for dynamic config attributes (import my.cfg as config)
This commit is contained in:
parent
fe763c3c04
commit
4cceccd787
6 changed files with 72 additions and 4 deletions
|
@ -26,6 +26,7 @@ def _org_files_in(ppp: Path, archived: bool=False) -> Iterator[Path]:
|
|||
|
||||
|
||||
def org_files(roots=config.roots, archived: bool=False) -> Iterator[Path]:
|
||||
# TODO rename to 'paths'? use get_files?
|
||||
for p in config.roots:
|
||||
yield from _org_files_in(Path(p), archived=archived)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue