docs update name of formatting script [skip ci]
This commit is contained in:
@@ -86,7 +86,7 @@ void lv_label_set_text(lv_obj_t * label, const char * text)
|
|||||||
|
|
||||||
Use 4 spaces indentation instead of tab.
|
Use 4 spaces indentation instead of tab.
|
||||||
|
|
||||||
You can use **astyle** to format the code. Run `code-formatter.sh` from the `scrips` folder.
|
You can use **astyle** to format the code. Run `code-format.py` from the `scripts` folder.
|
||||||
|
|
||||||
#### pre-commit
|
#### pre-commit
|
||||||
|
|
||||||
@@ -121,4 +121,4 @@ SKIP=name-of-the-hook git commit
|
|||||||
It's no necessary to do a commit to test the hooks, you can test hooks by adding the files into the staging area and run:
|
It's no necessary to do a commit to test the hooks, you can test hooks by adding the files into the staging area and run:
|
||||||
```console
|
```console
|
||||||
pre-commit run name-of-the-hook
|
pre-commit run name-of-the-hook
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user