2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 08:07:07 +00:00

to-do lists updates

This commit is contained in:
2023-02-02 21:50:40 +00:00
parent e0a198bac5
commit e94a24bbd4
9 changed files with 57 additions and 42 deletions

View File

@@ -12,14 +12,15 @@ from troggle.core.models.wallets import Wallet
for tunnel and therion files
"""
todo = """- Rename functions more consistently between tunnel and therion variants
todo = """
- Rename functions more consistently between tunnel and therion variants
- Recode to use pathlib instead of whacky resetting of loop variable inside loop
to scan sub-folders.
- Refactor to use pathlib instead of whacky resetting of loop variable inside loop
to scan sub-folders.
- Recode rx_valid_ext to use pathlib suffix() function
- Recode load_drawings_files() to use a list of suffices not huge if-else monstrosity
- Recode load_drawings_files() to use a list of suffices - not the huge if-else monstrosity
"""
rx_valid_ext = re.compile(r"(?i)\.(?:png|jpg|pdf|jpeg|gif|txt)$")