Skip to content

Commit

Permalink
Rename runner snippets file to avoid pre-commit check python ast issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Aug 20, 2024
1 parent 49669d4 commit 239cbf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/api/utils/runner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Usage

.. group-tab:: Python code

.. literalinclude:: ../../snippets/runner.py
.. literalinclude:: ../../snippets/runner.txt
:language: python
:emphasize-lines: 1, 10, 13, 16
:start-after: [start-runner-train-torch]
:end-before: [end-runner-train-torch]

.. group-tab:: Example .yaml file (PPO)

.. literalinclude:: ../../snippets/runner.py
.. literalinclude:: ../../snippets/runner.txt
:language: yaml
:start-after: [start-cfg-yaml]
:end-before: [end-cfg-yaml]
Expand All @@ -48,15 +48,15 @@ Usage

.. group-tab:: Python code

.. literalinclude:: ../../snippets/runner.py
.. literalinclude:: ../../snippets/runner.txt
:language: python
:emphasize-lines: 1, 10, 13, 16
:start-after: [start-runner-train-jax]
:end-before: [end-runner-train-jax]

.. group-tab:: Example .yaml file (PPO)

.. literalinclude:: ../../snippets/runner.py
.. literalinclude:: ../../snippets/runner.txt
:language: yaml
:start-after: [start-cfg-yaml]
:end-before: [end-cfg-yaml]
Expand Down
File renamed without changes.

0 comments on commit 239cbf5

Please sign in to comment.