Coverage for gwcelery/jinja.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-11-14 05:52 +0000

1"""Jinja environment configuration.""" 

2from jinja2 import Environment, PackageLoader, select_autoescape 

3 

4__all__ = ('env',) 

5 

6env = Environment(loader=PackageLoader(__package__, 'templates'), 

7 autoescape=select_autoescape, 

8 trim_blocks=True)