Wire stack.toml into all modules replacing hardcoded paths #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace every hardcoded path in src/ and dev/ with
from conf import cfg, path.Targets:
bib.store.Storedefaultdata/bib.sqlite→path('db.bib')aco.lake.contextdefaultnotebooks/aco.duckdb→path('db.aco')bcda.client/bcda.storedefaults →cfg.bcda.*/path('storage.bcda')rex.store/rex.pipedefaults →cfgvaluespfs.pipehardcoded connection →path('db.aco')dev/scripts/generate_models.pydefaults →cfg.generate.*path()callsAcceptance:
grep -r 'notebooks/aco.duckdb\|data/bib.sqlite' src/returns zero hits.