File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,33 @@ SPDX-License-Identifier: <SPDX License Expression>
55# beman.inplace\_ vector
66
77A 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
You can’t perform that action at this time.
0 commit comments