Skip to content

Commit

Permalink
Use markupsafe in gen_readme
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed Apr 1, 2022
1 parent 2c04df0 commit ff795a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -17,11 +17,6 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y bats gcc
python -m pip install --upgrade pip
- name: Lint
run: ./tests/run_linters.sh
- name: Unit tests
Expand Down
3 changes: 2 additions & 1 deletion examples/gen_readme.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python3
"""Generate the dockerfiles from a jinja template."""
from pathlib import Path
from jinja2 import Environment, FileSystemLoader, Markup
from jinja2 import Environment, FileSystemLoader
from markupsafe import Markup, escape

import os
import yaml
Expand Down
9 changes: 5 additions & 4 deletions requirements.txt
@@ -1,10 +1,11 @@
click==8.0.4
click==8.1.2
flake8==4.0.1
mkdocs-awesome-pages-plugin==2.7.0
mkdocs-macros-plugin==0.6.4
mkdocs-material==8.2.6
mkdocs==1.2.3
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.2.8
mkdocs==1.3.0
mkdocstrings==0.18.1
pip-upgrader==1.4.15
pydocstyle==6.1.1
pymdown-extensions==9.3
MarkupSafe==2.1.1

0 comments on commit ff795a9

Please sign in to comment.