Skip to content

Commit

Permalink
chore: Use jinja syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 12, 2024
1 parent c310e1a commit 486f3c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/python/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Check docstring style
Use `Ruff <https://docs.astral.sh/ruff/>`__ in new :doc:`packages<packages>`.

.. literalinclude:: ../../cookiecutter-pypackage/{{cookiecutter.repository_name}}/pyproject.toml
:language: toml
:language: jinja
:caption: pyproject.toml

These error codes are ignored:
Expand Down
4 changes: 2 additions & 2 deletions docs/python/linting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ New projects should use the `Ruff <https://docs.astral.sh/ruff/>`__ formatter an
.. tab-item:: Package

.. literalinclude:: ../../cookiecutter-pypackage/{{cookiecutter.repository_name}}/pyproject.toml
:language: yaml
:language: jinja
:caption: pyproject.toml

.. tab-item:: Django

.. literalinclude:: ../../cookiecutter-django/{{cookiecutter.project_slug}}/pyproject.toml
:language: yaml
:language: jinja
:caption: pyproject.toml

Do not use ``setup.cfg``, ``setup.py``, ``.editorconfig`` or tool-specific files like ``.coveragerc``.
Expand Down

0 comments on commit 486f3c0

Please sign in to comment.