diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ac52e9b..18dea81 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,9 +20,11 @@ jobs: uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 + with: + python-version: '3.11' - run: - python -m pip install flake8 flake8-import-order doc8 sphinx - rstcheck[sphinx] + python -m pip install --upgrade flake8 flake8-import-order + doc8 sphinx rstcheck[sphinx] - run: python -m pip install . - run: flake8 . - run: doc8 $(git ls-files '*.rst') diff --git a/docs/disable_with_comments.rst b/docs/disable_with_comments.rst index 5ba2449..020d5c8 100644 --- a/docs/disable_with_comments.rst +++ b/docs/disable_with_comments.rst @@ -117,7 +117,7 @@ post-template processing). Example of a Jinja2 code that cannot be parsed as YAML because it contains invalid tokens ``{%`` and ``%}``: -.. code-block:: yaml +.. code-block:: text # This file IS NOT valid YAML and will procuce syntax errors {% if extra_info %}