-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: skip tasks in pretend mode #970
Conversation
Codecov Report
@@ Coverage Diff @@
## master #970 +/- ##
==========================================
- Coverage 96.66% 96.28% -0.39%
==========================================
Files 42 42
Lines 3122 3201 +79
==========================================
+ Hits 3018 3082 +64
- Misses 104 119 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 27 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch looks good to me, but I bet you want to add some types to these tests before merging, right? 😉
Absolutely! 😆 I've added the type hints and also improved the formatting a bit 😉. |
Copier now skips tasks execution in pretend mode as discussed in #950. I've extended the fix to also skip migration tasks in pretend mode although they weren't explicitly mentioned in #950, but I think that is consistent behavior.
Fixes #950.