mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-10 00:37:54 +00:00
Merge remote-tracking branch 'origin/master' into nightly
This commit is contained in:
commit
d68cb47ea6
1
changelog.d/20240118_155012_r.khetani.md
Normal file
1
changelog.d/20240118_155012_r.khetani.md
Normal file
@ -0,0 +1 @@
|
||||
[Improvement] Add `.webp` and. `.otf` extensions to list of binary extensions to ignore when rendering templates.
|
@ -20,7 +20,7 @@ google-auth==2.23.3
|
||||
# via kubernetes
|
||||
idna==3.4
|
||||
# via requests
|
||||
jinja2==3.1.2
|
||||
jinja2==3.1.3
|
||||
# via -r requirements/base.in
|
||||
kubernetes==28.1.0
|
||||
# via -r requirements/base.in
|
||||
@ -40,7 +40,7 @@ pyasn1==0.5.0
|
||||
# rsa
|
||||
pyasn1-modules==0.3.0
|
||||
# via google-auth
|
||||
pycryptodome==3.19.0
|
||||
pycryptodome==3.20.0
|
||||
# via -r requirements/base.in
|
||||
python-dateutil==2.8.2
|
||||
# via kubernetes
|
||||
|
@ -74,7 +74,7 @@ jeepney==0.8.0
|
||||
# via
|
||||
# keyring
|
||||
# secretstorage
|
||||
jinja2==3.1.2
|
||||
jinja2==3.1.3
|
||||
# via
|
||||
# -r requirements/base.txt
|
||||
# scriv
|
||||
@ -136,7 +136,7 @@ pyasn1-modules==0.3.0
|
||||
# google-auth
|
||||
pycparser==2.21
|
||||
# via cffi
|
||||
pycryptodome==3.19.0
|
||||
pycryptodome==3.20.0
|
||||
# via -r requirements/base.txt
|
||||
pygments==2.16.1
|
||||
# via
|
||||
|
@ -44,7 +44,7 @@ imagesize==1.4.1
|
||||
# via sphinx
|
||||
importlib-metadata==6.8.0
|
||||
# via sphinx
|
||||
jinja2==3.1.2
|
||||
jinja2==3.1.3
|
||||
# via
|
||||
# -r requirements/base.txt
|
||||
# sphinx
|
||||
@ -76,7 +76,7 @@ pyasn1-modules==0.3.0
|
||||
# via
|
||||
# -r requirements/base.txt
|
||||
# google-auth
|
||||
pycryptodome==3.19.0
|
||||
pycryptodome==3.20.0
|
||||
# via -r requirements/base.txt
|
||||
pygments==2.16.1
|
||||
# via sphinx
|
||||
|
12
tutor/env.py
12
tutor/env.py
@ -15,7 +15,17 @@ from tutor.types import Config, ConfigValue
|
||||
|
||||
TEMPLATES_ROOT = pkg_resources.resource_filename("tutor", "templates")
|
||||
VERSION_FILENAME = "version"
|
||||
BIN_FILE_EXTENSIONS = [".ico", ".jpg", ".patch", ".png", ".ttf", ".woff", ".woff2"]
|
||||
BIN_FILE_EXTENSIONS = [
|
||||
".ico",
|
||||
".jpg",
|
||||
".otf",
|
||||
".patch",
|
||||
".png",
|
||||
".ttf",
|
||||
".webp",
|
||||
".woff",
|
||||
".woff2",
|
||||
]
|
||||
JinjaFilter = t.Callable[..., t.Any]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user