pre-commit run --all-files

This commit is contained in:
Remi Cadene 2024-05-19 19:56:06 +00:00
parent a5098d7bf3
commit e1337aec71
2 changed files with 7 additions and 1 deletions

View File

@ -195,6 +195,11 @@ Follow these steps to start contributing:
git commit
```
Note, if you already commited some changes that have a wrong formatting, you can use:
```bash
pre-commit run --all-files
```
Please write [good commit messages](https://chris.beams.io/posts/git-commit/).
It is a good idea to sync your copy of the code with the original

View File

@ -33,7 +33,8 @@ def get_policy_stats(env_name, policy_name, extra_overrides):
f"env={env_name}",
f"policy={policy_name}",
"device=cpu",
] + extra_overrides,
]
+ extra_overrides,
)
set_global_seed(1337)
dataset = make_dataset(cfg)