marrow / WebCore

WebCore, the super tiny and blazingly fast modular Python web nanoframework.
MIT License
94 stars 10 forks source link

Register the Application instance as an extension for simpler customization. #186

Closed amcgregor closed 6 years ago

amcgregor commented 6 years ago

This will allow the Application object to be subclassed to populate application-specific extension callback handlers. The most common example would be to register application-specific views.

codecov[bot] commented 6 years ago

Codecov Report

Merging #186 into develop will increase coverage by 1.27%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop    #186      +/-   ##
==========================================
+ Coverage    90.23%   91.5%   +1.27%     
==========================================
  Files           17      17              
  Lines          717     742      +25     
==========================================
+ Hits           647     679      +32     
+ Misses          70      63       -7
Impacted Files Coverage Δ
web/app/static.py 100% <ø> (ø) :arrow_up:
web/core/application.py 100% <100%> (ø) :arrow_up:
web/ext/serialize.py 0% <0%> (ø) :arrow_up:
web/core/dispatch.py 100% <0%> (ø) :arrow_up:
web/ext/debug.py 100% <0%> (ø) :arrow_up:
web/ext/local.py 100% <0%> (ø) :arrow_up:
web/ext/base.py 99.01% <0%> (+2.08%) :arrow_up:
web/core/view.py 100% <0%> (+3.57%) :arrow_up:
... and 1 more

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 95fd2bf...420696b. Read the comment docs.