Open du33169 opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.28%. Comparing base (
313277a
) to head (3a47a5c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Could we get some sort of test for this? Does the (re)use of
InitCatalog
do exactly the same thing as the old code?
The original logic replaced in UpdateCatalog
is the same as InitCatalog.run()
. To resolve the corresponding issue, we need the directory creation logic in InitCatalog.finalize_options()
. I haven't investigated on what else will be done in the constructor.
Will it be better to elevate the logic of InitCatalog.run()
and InitCatalog.finalize_options()
to classmethods?
Or should we make it simple, by just adding the directory creation logic again, and leave the redundancy for now?
Replaced the redundant init logic in
UpdateCatalog.run()
with a temporaryInitCatalog
instance to ensure the parent directory of the output file will be created. (close #1139)