wbond / pybars3

Handlebars.js template support for Python 3 and 2
GNU Lesser General Public License v3.0
179 stars 46 forks source link

Add "list.length" support #62

Closed JGoutin closed 4 years ago

JGoutin commented 5 years ago

Rendering {{list.length}} now correctly return the list length instead of crashing.

codecov[bot] commented 5 years ago

Codecov Report

Merging #62 into master will decrease coverage by 0.4%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
- Coverage   92.96%   92.56%   -0.41%     
==========================================
  Files           2        2              
  Lines         455      457       +2     
  Branches       85       86       +1     
==========================================
  Hits          423      423              
- Misses         19       20       +1     
- Partials       13       14       +1
Impacted Files Coverage Δ
pybars/_compiler.py 92.46% <0%> (-0.42%) :arrow_down:

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 2935a00...e355aab. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #62 into master will decrease coverage by 0.4%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
- Coverage   92.96%   92.56%   -0.41%     
==========================================
  Files           2        2              
  Lines         455      457       +2     
  Branches       85       86       +1     
==========================================
  Hits          423      423              
- Misses         19       20       +1     
- Partials       13       14       +1
Impacted Files Coverage Δ
pybars/_compiler.py 92.46% <0%> (-0.42%) :arrow_down:

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 2935a00...e355aab. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #62 into master will increase coverage by 0.03%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
+ Coverage   92.96%   92.99%   +0.03%     
==========================================
  Files           2        2              
  Lines         455      457       +2     
  Branches       85       86       +1     
==========================================
+ Hits          423      425       +2     
  Misses         19       19              
  Partials       13       13
Impacted Files Coverage Δ
pybars/_compiler.py 92.9% <100%> (+0.03%) :arrow_up:

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 2935a00...5de08c5. Read the comment docs.

isaacdd commented 4 years ago

Thanks for the contribution!