feat(codegen): add dry-run registry + codegen management command#117
feat(codegen): add dry-run registry + codegen management command#117davecoates merged 1 commit intomainfrom
Conversation
e59d384 to
498bc3a
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #117 +/- ##
==========================================
+ Coverage 79.24% 81.22% +1.97%
==========================================
Files 93 94 +1
Lines 6554 6646 +92
==========================================
+ Hits 5194 5398 +204
+ Misses 1360 1248 -112
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
micahklaz
left a comment
There was a problem hiding this comment.
Approved as the comment might not be a deal-breaker
| if dry_run: | ||
| stats.files_pending.append(intermediate_file.target_path) | ||
| else: | ||
| stats.files_written.append(intermediate_file.target_path) |
There was a problem hiding this comment.
I think appending to files written after actually writing made more sense - that way if the writing process goes wrong (e.g. permission error) then the file path won't mistakenly be added to the list of files written.
There was a problem hiding this comment.
Makes sense, have moved it after
Includes dry-run support, new REGISTRY setting/command. Resolves #114
498bc3a to
a033053
Compare
Includes dry-run support, new REGISTRY setting/command.
Resolves #114