Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 3ea63f7

Browse files
authored
Merge branch 'master' into mstfbl/add-defusedxml
2 parents ee18866 + c37f8a0 commit 3ea63f7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/regenerate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"""
1616

1717
import jinja2
18+
from jinja2 import select_autoescape
1819
import yaml
1920
import os.path
2021

@@ -184,7 +185,7 @@ def unittest_workflows(indentation=6):
184185
env = jinja2.Environment(
185186
loader=jinja2.FileSystemLoader(d),
186187
lstrip_blocks=True,
187-
autoescape=False,
188+
autoescape=select_autoescape(enabled_extensions=('html', 'xml')),
188189
)
189190

190191
with open(os.path.join(d, 'config.yml'), 'w') as f:

.circleci/utils/test_sort_yaml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
import sys
1212
import yaml
1313

14-
sys.stdout.write(yaml.dump(yaml.load(sys.stdin, Loader=yaml.FullLoader), sort_keys=True))
14+
sys.stdout.write(yaml.dump(yaml.safe_load(sys.stdin, Loader=yaml.FullLoader), sort_keys=True))

0 commit comments

Comments
 (0)