Skip to content

Commit ffad968

Browse files
committed
update README
1 parent 8ca421a commit ffad968

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,33 @@ SPDX-License-Identifier: <SPDX License Expression>
55
# beman.inplace\_vector
66

77
A dynamically-resizable vector with fixed capacity and embedded storage
8+
9+
## Linting
10+
11+
This project use [pre-commit](https://pre-commit.com/) framework for linting.
12+
13+
### Install pre-commit
14+
15+
```bash
16+
pip3 install pre-commit
17+
```
18+
19+
[pre-commit] can be configured to automatically triggered before git commit,
20+
to install this functionality, run:
21+
22+
```bash
23+
pre-commit install
24+
```
25+
26+
### Running pre-commit
27+
28+
```bash
29+
pre-commit run --all-files
30+
```
31+
32+
This will download and check linting rules on all files.
33+
Apart from Markdown files,
34+
`pre-commit` will automatically format the files
35+
to conform with linting rules in place.
36+
37+
### Run

0 commit comments

Comments
 (0)