Update CONTRIBUTING.md

formating -> formatting
This commit is contained in:
Ikko Eltociear Ashimine 2023-12-09 08:02:34 +09:00 committed by GitHub
parent 331690491f
commit ba0bd65510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ possible.
1. Fork and submit pull requests to the repo. 1. Fork and submit pull requests to the repo.
2. If you've added code that should be tested, add tests. 2. If you've added code that should be tested, add tests.
3. Every PR should have passing tests and at least one review. 3. Every PR should have passing tests and at least one review.
4. For code formating install `pre-commit` using something like `pip install pre-commit` and run `pre-commit install`. 4. For code formatting install `pre-commit` using something like `pip install pre-commit` and run `pre-commit install`.
This should install hooks for running `black` and `clang-format` to ensure This should install hooks for running `black` and `clang-format` to ensure
consistent style for C++ and python code. consistent style for C++ and python code.