[script] update make-pretty to bash (#4698)

- Also update CONTRIBUTING.md and STYLE_GUIDE.md.
This commit is contained in:
Jonathan Hui
2020-03-18 19:04:10 -07:00
committed by GitHub
parent ccf4eb9a51
commit 4ee8010558
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -114,9 +114,9 @@
## Format and Style
- OpenThread uses the `make pretty` build target to reformat code and enforce code format and style. The `make pretty-check` build target is included in OpenThread's continuous integration and must pass before a pull request is merged.
- OpenThread uses `script/make-pretty` to reformat code and enforce code format and style. `script/make-pretty check` build target is included in OpenThread's continuous integration and must pass before a pull request is merged.
- The `make pretty` and `make pretty-check` build targets require [clang-format v6.0.0](http://releases.llvm.org/download.html#6.0.0).
- `script/make-pretty` requires [clang-format v6.0.0](http://releases.llvm.org/download.html#6.0.0) for C/C++ and [yapf](https://github.com/google/yapf) for Python.
### File Names
- File names should match the names and types of what is described in the file. If a file contains many declarations and definitions, the author should choose the one that predominantly describes or that makes the most sense.