Skip to content

Commit 40d9fa2

Browse files
committed
Add usage instructions
1 parent 36dbb99 commit 40d9fa2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,19 @@ To install it from [PyPI](https://pypi.org/) run:
3131
```console
3232
pip install airflint
3333
```
34+
35+
Then just call it like this:
36+
37+
![usage](assets/images/usage.png)
38+
39+
### pre-commit
40+
41+
Alternatively you can add the following repo to your `pre-commit-config.yaml`:
42+
43+
```yaml
44+
- repo: https://github.com/feluelle/airflint
45+
rev: v0.1.1-alpha
46+
hooks:
47+
- id: airflint
48+
args: ["-a"] # Use -a for replacing inplace
49+
```

assets/images/usage.png

69.4 KB
Loading

0 commit comments

Comments
 (0)