Skip to content
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

Initial prototype for 202 template types #239

Merged
merged 15 commits into from
Feb 26, 2019
Merged

Initial prototype for 202 template types #239

merged 15 commits into from
Feb 26, 2019

Conversation

chfw
Copy link
Member

@chfw chfw commented Feb 26, 2019

first of all, integration tests has not been done yet. but because this is a team work, I would obey the principle of integrate early and commit per day. Also, in this way, @ayan-b could kick-start #234 on top of what's going here.

@chfw
Copy link
Member Author

chfw commented Feb 26, 2019

@ayan-b, didn't notice your comments till now. will look!

moban/mobanfile/__init__.py Outdated Show resolved Hide resolved
@codecov-io
Copy link

codecov-io commented Feb 26, 2019

Codecov Report

Merging #239 into dev will decrease coverage by 0.02%.
The diff coverage is 96.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #239      +/-   ##
==========================================
- Coverage   99.31%   99.29%   -0.03%     
==========================================
  Files          57       57              
  Lines        2352     2397      +45     
==========================================
+ Hits         2336     2380      +44     
- Misses         16       17       +1
Impacted Files Coverage Δ
tests/test_template.py 100% <100%> (ø) ⬆️
tests/test_jinja2_extensions.py 100% <100%> (ø) ⬆️
moban/jinja2/engine.py 100% <100%> (ø) ⬆️
tests/test_engine.py 100% <100%> (ø) ⬆️
moban/constants.py 100% <100%> (ø) ⬆️
moban/mobanfile/__init__.py 98.48% <66.66%> (-0.74%) ⬇️
moban/plugins/template.py 97.79% <95%> (+0.23%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37c7349...af3bcc3. Read the comment docs.

@chfw
Copy link
Member Author

chfw commented Feb 26, 2019

@ayan-b have addressed your feedback now.

@chfw chfw merged commit 3fd1667 into dev Feb 26, 2019
@chfw
Copy link
Member Author

chfw commented Feb 26, 2019

more unit tests will be written along this feature development. but taking a cut today won't have sufficient unit tests.

chfw added a commit that referenced this pull request Feb 28, 2019
* Lower dependencies (#232)

* ✨ port minimum requirement test via pypi-mobans from pyexcel. #187

* 🐛 fix travis ci file

* 🐛 update unit tests

* :wheel_chair: lower the dependencies

* 💄 pump up the version number

* Minor code refactoring (#236)

* 🔨 code refactoring

* 💄 reformat code

* 📚 fix doc build

* 🐛 fix docs build

* Initial prototype for 202 template types (#239)

* 🔨 code refactoring

* 💄 reformat code

* 🔥 remove MobanEngine's reference to the engine class

* 🔨 refactoring the code and un-bury engine instance

* ✨ initial prototype, not tested. #235

* 📚 fix doc build

* 🐛 fix docs build

* 🔨 refactoring. user define template takes precedence

* 🔬 test user define engine

* ✨ associate user defined file extensions with user defined template engine name, i.e. custom_jinja for jinja2, custom_handlebars for handlebars, #235

* ✨ take template types from moban file. related to #233

* 🔨 address the feedback

* 🐛 fix typos and add line feed

* 💄 beautify the code

* 📚 provide documentation on template_types under configuration. fix #237 (#240)

* 📚 update change log.#232, #235

* 💄 address review feedback
ayan-b pushed a commit to ayan-b/moban that referenced this pull request Apr 21, 2019
* 🔨 code refactoring

* 💄 reformat code

* 🔥 remove MobanEngine's reference to the engine class

* 🔨 refactoring the code and un-bury engine instance

* ✨ initial prototype, not tested. moremoban#235

* 📚 fix doc build

* 🐛 fix docs build

* 🔨 refactoring. user define template takes precedence

* 🔬 test user define engine

* ✨ associate user defined file extensions with user defined template engine name, i.e. custom_jinja for jinja2, custom_handlebars for handlebars, moremoban#235

* ✨ take template types from moban file. related to moremoban#233

* 🔨 address the feedback

* 🐛 fix typos and add line feed

* 💄 beautify the code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants