hello-robot / stretch_web_teleop

Remote web teleoperation for the Stretch mobile manipulators from Hello Robot Inc.
Other
15 stars 1 forks source link

Add Pre-Commit Hooks #42

Closed hello-amal closed 5 months ago

hello-amal commented 6 months ago

Description

This PR adds pre-commit hooks to the stretch_web_teleop repository. Once installed locally (pre-commit install), these hooks will automatically run before you create a commit. They will verify that you aren't committing anything that shouldn't (e.g., large files, executables without a shebang, code with misspellings), and will auto-format your code.

The main files that are changed are:

All other changes are re-formattings that the pre-commit hook automatically did.

Testing procedure

Before opening a pull request

From the top-level of this repository, run:

To merge