Just a little something I find convenient when diagnosing my templates. if the -w or --warn flag is provided on the command line, or warn=True to render, a simple warning will be printed to stderr on each key referenced by the template but not defined in the data.
Coverage decreased (-0.4%) to 99.595% when pulling 2cbf772dbaab407ad9d7b2703dc30881e42d184c on joshhansen:master_warn into 78f1a384eddef16906732d8db66deea6d37049b7 on noahmorrison:master.
Just a little something I find convenient when diagnosing my templates. if the
-w
or--warn
flag is provided on the command line, orwarn=True
torender
, a simple warning will be printed to stderr on each key referenced by the template but not defined in the data.