Skip to content

Commit 44ab4a0

Browse files
authored
Update README.md
1 parent 93cd8e3 commit 44ab4a0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,23 @@ Install the Python Package **requirementsDocuBuild.txt** from [itom](https://git
1111
* If there are new plugin copy the ``*.rst`` file from [plugin](https://github.com/itom-project/plugin) source repository to ``../mainsite_hidden/source_plugins/``
1212
* Start ITOM (As Admin)
1313

14+
pre-commit hooks
15+
----------------
16+
17+
After the first cloning of the repositories, the [pre-commit](https://pre-commit.com/ "pre-commit") hooks should be installed once.
18+
19+
```bash
20+
python -m pre_commit install
21+
```
22+
23+
#### (optional) run against all files
24+
25+
It's usually a good idea to run the hooks against all of the files when adding new hooks (usually ``pre-commit`` will only run on the changed files during git hooks).
26+
27+
```bash
28+
python -m pre-commit run --all-files
29+
```
30+
1431
Update Plugin-Doc
1532
-----------------
1633

0 commit comments

Comments
 (0)