Skip to content

Commit

Permalink
Merge branch 'master' into mstfbl/bandit-security-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfbl authored Apr 6, 2021
2 parents fd52473 + c37f8a0 commit fe9c193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/regenerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"""

import jinja2
from jinja2 import select_autoescape
import yaml
import os.path

Expand Down Expand Up @@ -184,7 +185,7 @@ def unittest_workflows(indentation=6):
env = jinja2.Environment(
loader=jinja2.FileSystemLoader(d),
lstrip_blocks=True,
autoescape=False,
autoescape=select_autoescape(enabled_extensions=('html', 'xml')),
)

with open(os.path.join(d, 'config.yml'), 'w') as f:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/utils/test_sort_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
import sys
import yaml

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

0 comments on commit fe9c193

Please sign in to comment.