Skip to content

Comments

Add pepsi format#2201

Open
oleflb wants to merge 5 commits intoHULKs:mainfrom
oleflb:pepsi-format
Open

Add pepsi format#2201
oleflb wants to merge 5 commits intoHULKs:mainfrom
oleflb:pepsi-format

Conversation

@oleflb
Copy link
Contributor

@oleflb oleflb commented Jan 25, 2026

Why? What?

Adds a pepsi format command, which runs cargo format, taplo fmt, and ruff format.
Right now the command does not expose any of the options of the three tools, not sure whether we want that.

The second commit also contains a format of the entire repo

Fixes #

ToDo / Known Issues

If this is a WIP describe which problems are to be fixed.

Ideas for Next Iterations (Not This PR)

  • integrate into CI

How to Test

  • pepsi fmt

@oleflb oleflb added the tools:Tooling Related to pepsi et.al. label Jan 25, 2026
@github-project-automation github-project-automation bot moved this to Request for Review in Development Jan 25, 2026
@oleflb oleflb enabled auto-merge January 25, 2026 17:08
@knoellle knoellle self-assigned this Jan 27, 2026
@knoellle
Copy link
Member

For me, ./pepsi format fails with this error:

[ruff] ✗
   0: error: Failed to parse tools/machine-learning/mujoco/typings/mujoco/_specs.pyi:321:11: Expected an identifier
      error: Failed to parse tools/mujoco-simulator/mujoco-simulator/stubs/mujoco/_specs.pyi:321:11: Expected an identifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools:Tooling Related to pepsi et.al.

Projects

Status: Request for Review

Development

Successfully merging this pull request may close these issues.

2 participants