diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd8f97e2..b20dede6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 diff --git a/tests/scripts/save_policy_to_safetensor.py b/tests/scripts/save_policy_to_safetensor.py index 5daf96e5..51af9f68 100644 --- a/tests/scripts/save_policy_to_safetensor.py +++ b/tests/scripts/save_policy_to_safetensor.py @@ -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)