Skip to content

Commit 10e83cf

Browse files
committed
adds formating process
1 parent eec27b7 commit 10e83cf

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.12.3
5+
hooks:
6+
# Run the linter.
7+
- id: ruff-check
8+
args: [ --fix ]
9+
# Run the formatter.
10+
- id: ruff-format

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.PHONY: sync
2+
sync:
3+
uv sync --all-extras --all-packages
4+
5+
.PHONY: format
6+
format:
7+
uv run ruff format
8+
uv run ruff check --fix

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ Evaluate the policy.
5252
uv run bdx_r_play Mjlab-Velocity-Flat-BDX-R-Play --wandb-run-path your-org/mjlab/run-id
5353
```
5454

55+
## Contributing
56+
57+
We look forward for contributions. Before submitting a PR, please run the following command for format:
58+
59+
```bash
60+
make format
61+
```
62+
5563
## Acknowledgements
5664

5765
We're grateful to the people behind MjLab, MuJoCo Warp and Isaac Lab.

0 commit comments

Comments
 (0)