Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 721 Bytes

CONTRIBUTING.md

File metadata and controls

31 lines (26 loc) · 721 Bytes

Contributing to Loom

We welcome contributions to Loom! Please read the following guidelines before submitting a pull request.

Run those command before submitting a PR

Before open a PR, please make sure that all tests are passing and the code is properly formatted.

Run all tests

make test
make swap-test-all

Format code

make clippy
make fmt
make taplo

Optional: Install pre-commit hooks

See https://pre-commit.com for a detailed guide on how to install pre-commit hooks. Then run in the root of the repository:

pre-commit install

Install tools

To install the tools required to run the tests and format the code, run:

cargo install taplo-cli --locked