Skip to content

Commit e50ed2e

Browse files
xnuinsidelensvol
authored andcommitted
update readme.md to show sample how to use in pre-commit hooks
1 parent 870ea59 commit e50ed2e

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,30 @@ def f():
232232

233233
## Installation
234234

235-
```shell script
236-
# pip install pybetter
235+
```console
236+
237+
pip install pybetter
238+
239+
```
240+
## Use in pre-commit hooks
241+
242+
```console
243+
244+
- repo: https://github.com/lensvol/pybetter
245+
rev: release-0.3.7
246+
hooks:
247+
- id: pybetter
248+
237249
```
238250

239251
## Getting started with development
240252

241-
```shell script
242-
# git clone https://github.com/lensvol/pybetter
243-
# poetry install
253+
```console
254+
255+
git clone https://github.com/lensvol/pybetter
256+
257+
poetry install
258+
244259
```
245260

246261
## License

0 commit comments

Comments
 (0)