brechtm / rinohtype

The Python document processor
http://www.mos6581.org/rinohtype
GNU Affero General Public License v3.0
504 stars 61 forks source link

Support stylesheets and template files relative to input file. #264

Closed alexfargus closed 3 years ago

alexfargus commented 3 years ago

I was browsing the issues and #253 seemed like an easy fix.

codecov[bot] commented 3 years ago

Codecov Report

Merging #264 (10b3f84) into master (88f7271) will increase coverage by 0.03%. The diff coverage is 77.27%.

:exclamation: Current head 10b3f84 differs from pull request most recent head e1212e3. Consider uploading reports for the commit e1212e3 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
+ Coverage   73.61%   73.65%   +0.03%     
==========================================
  Files          89       89              
  Lines       14245    14255      +10     
  Branches     1963     1966       +3     
==========================================
+ Hits        10486    10499      +13     
+ Misses       3378     3376       -2     
+ Partials      381      380       -1     
Flag Coverage Δ
3.10.0-alpha 47.40% <31.81%> (+0.35%) :arrow_up:
3.6 73.11% <77.27%> (+0.04%) :arrow_up:
3.7 73.11% <77.27%> (+0.04%) :arrow_up:
3.8 73.58% <77.27%> (+0.03%) :arrow_up:
3.9 73.59% <77.27%> (+0.03%) :arrow_up:
Linux 73.60% <77.27%> (+0.03%) :arrow_up:
Windows 73.45% <77.27%> (+0.01%) :arrow_up:
macOS 47.39% <31.81%> (-26.07%) :arrow_down:
pypy-3.6 73.15% <77.27%> (+0.04%) :arrow_up:
pypy-3.7 73.15% <77.27%> (+0.04%) :arrow_up:
regression-3.6 71.41% <72.72%> (+0.03%) :arrow_up:
regression-3.7 71.41% <72.72%> (+0.03%) :arrow_up:
regression-3.8 71.91% <72.72%> (+0.03%) :arrow_up:
regression-3.9 71.93% <72.72%> (+0.03%) :arrow_up:
regression-pypy3 71.44% <72.72%> (+0.03%) :arrow_up:
unit-3.10 47.40% <31.81%> (+0.35%) :arrow_up:
unit-3.6 46.26% <31.81%> (+0.34%) :arrow_up:
unit-3.7 46.26% <31.81%> (+0.34%) :arrow_up:
unit-3.8 47.42% <31.81%> (+0.35%) :arrow_up:
unit-3.9 47.42% <31.81%> (+0.35%) :arrow_up:
unit-pypy3 46.29% <31.81%> (+0.34%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/rinoh/__main__.py 51.24% <77.27%> (+3.07%) :arrow_up:
src/rinoh/template.py 88.04% <0.00%> (+0.43%) :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 88f7271...e1212e3. Read the comment docs.

alexfargus commented 3 years ago

@brechtm This is now ready for review. Please take a look.