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

Minor code refactoring #236

Merged
merged 2 commits into from
Feb 25, 2019
Merged

Minor code refactoring #236

merged 2 commits into from
Feb 25, 2019

Conversation

chfw
Copy link
Member

@chfw chfw commented Feb 24, 2019

Use MobanEngine than TemplateEngine.

@chfw chfw requested a review from ayan-b February 24, 2019 21:51
@codecov-io
Copy link

Codecov Report

Merging #236 into dev will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #236   +/-   ##
=======================================
  Coverage   99.31%   99.31%           
=======================================
  Files          57       57           
  Lines        2352     2352           
=======================================
  Hits         2336     2336           
  Misses         16       16
Impacted Files Coverage Δ
tests/test_template.py 100% <100%> (ø) ⬆️
...sts/integration_tests/test_command_line_options.py 100% <100%> (ø) ⬆️
tests/mobanfile/test_mobanfile.py 100% <100%> (ø) ⬆️
moban/plugins/template.py 97.56% <100%> (ø) ⬆️
tests/test_jinja2_extensions.py 100% <100%> (ø) ⬆️
tests/test_engine.py 100% <100%> (ø) ⬆️
moban/plugins/__init__.py 100% <100%> (ø) ⬆️

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 64ca405...78e4467. Read the comment docs.

@codecov-io
Copy link

codecov-io commented Feb 24, 2019

Codecov Report

Merging #236 into dev will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #236   +/-   ##
=======================================
  Coverage   99.31%   99.31%           
=======================================
  Files          57       57           
  Lines        2352     2352           
=======================================
  Hits         2336     2336           
  Misses         16       16
Impacted Files Coverage Δ
tests/test_template.py 100% <100%> (ø) ⬆️
...sts/integration_tests/test_command_line_options.py 100% <100%> (ø) ⬆️
tests/mobanfile/test_templates.py 100% <100%> (ø) ⬆️
tests/mobanfile/test_mobanfile.py 100% <100%> (ø) ⬆️
tests/test_jinja2_extensions.py 100% <100%> (ø) ⬆️
moban/plugins/template.py 97.56% <100%> (ø) ⬆️
moban/repo.py 100% <100%> (ø) ⬆️
tests/test_engine.py 100% <100%> (ø) ⬆️
moban/plugins/__init__.py 100% <100%> (ø) ⬆️

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 64ca405...78e4467. Read the comment docs.

@chfw chfw merged commit 4f991a6 into dev Feb 25, 2019
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
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