-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Expand the definition of template_type in targets section #245
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #245 +/- ##
=========================================
- Coverage 99.33% 99.3% -0.04%
=========================================
Files 57 57
Lines 2402 2435 +33
=========================================
+ Hits 2386 2418 +32
- Misses 16 17 +1
Continue to review full report at Codecov.
|
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.
I am sorry that My bad has lead to 'overrides'. Please use 'base_type' so that there is a consistency in our design.
Sure! |
It is great that you have finished 1st round of iteration: code changed, tests written. I am now going to give a bit more comment on code refactoring side, while keep tests in-tact. Please be aware that: it is normal to do code refactoring after a working prototype is done. some developer take a defence on whatever is written. I hope we can overcome our natural instincts. |
d7dd17d
to
82ab306
Compare
If I run Templating a.template.file_type_of_my_choice to a.output
Templated 1 file.
Templating a.template.jj2 to b.output
Templated 1 file. Looking into it. |
It means your moban has not been updated. Install it again. |
since you are the first one after 0.4.1, please pump up the version, which also helps you know which version was installed. |
@chfw please review. 😄 |
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.
Almost there. Minor issues now: reporter will print out messages so no need to print again.
"file_extensions": [file_extension], could use the constant.
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.
Great! Will merge once I am near to a computer.
To test console print , you can mock out sys.stdout. If you search within this repo, there may be some existing code. |
Yep. If you use 'with', you won't need to do patcher start and stop. |
have squash and merged. for next item in line, please sync with dev first and branch off from there. |
I guess it was already synced with Dev, else GitHub would have shown |
hoho.. sorry. please do it with another PR then. |
Closes #234
Before raising the PR, here is a check list:
5.1) can someone else understand your changes without your explanation?
6.1) do you have the feeling of achievement?