Skip to content

Commit

Permalink
Added notes about Pre-Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlaine committed Sep 7, 2020
1 parent 45679f6 commit 00fb796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This is because a `Plaintext` object with slot-data written into the coefficient

- Moved all files related to pkg-config to `pkgconfig/` subdirectory.
- Added a new typedef `seal::seal_byte` for the unnecessarily capitalized `seal::SEAL_BYTE`.
- Added `.pre-commit-config.yaml` (check out [pre-commit](https://pre-commit.com) if you are not familiar with this tool).

## Version 3.5.8

Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Simply follow the instructions provided by the bot. You will only need to do thi

Microsoft SEAL uses a customized `.clang-format` configuration for C++ code styling.
A script `tools/scripts/clang-format-all.sh` is provided to easily format all C++ sources and headers in the `native` directory.
To ensure the code is properly formatted before making a pull request, we highly recommend using [pre-commit](https://pre-commit.com/).
Note that the repository includes a `.pre-commit-config.yaml` that describes the appropriate formatting checks.

Documentation are mostly written in GitHub-flavored Markdown.
A line break is required after each full sentence.

0 comments on commit 00fb796

Please sign in to comment.