Skip to content

Commit 57e9eca

Browse files
committed
Mirror: 2.4.1
1 parent 0fad77f commit 57e9eca

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Add the following to your `.pre-commit-config.yaml`:
2828
```yaml
2929
repos:
3030
- repo: https://github.com/MaxMatti/treefmt-pre-commit
31-
rev: v2.4.0.19
31+
rev: v2.4.1.19
3232
hooks:
3333
- id: treefmt
3434
```
@@ -44,7 +44,7 @@ Formats files automatically using treefmt.
4444
```yaml
4545
repos:
4646
- repo: https://github.com/MaxMatti/treefmt-pre-commit
47-
rev: v2.4.0.19
47+
rev: v2.4.1.19
4848
hooks:
4949
- id: treefmt
5050
```
@@ -62,7 +62,7 @@ Checks if files need formatting without modifying them. Useful for CI pipelines.
6262
```yaml
6363
repos:
6464
- repo: https://github.com/MaxMatti/treefmt-pre-commit
65-
rev: v2.4.0.19
65+
rev: v2.4.1.19
6666
hooks:
6767
- id: treefmt-check
6868
```
@@ -110,7 +110,7 @@ Format all files:
110110
```yaml
111111
repos:
112112
- repo: https://github.com/MaxMatti/treefmt-pre-commit
113-
rev: v2.4.0.19
113+
rev: v2.4.1.19
114114
hooks:
115115
- id: treefmt
116116
```
@@ -122,7 +122,7 @@ Use the check mode in CI to ensure all files are formatted:
122122
```yaml
123123
repos:
124124
- repo: https://github.com/MaxMatti/treefmt-pre-commit
125-
rev: v2.4.0.19
125+
rev: v2.4.1.19
126126
hooks:
127127
- id: treefmt-check
128128
```
@@ -153,7 +153,7 @@ You can limit which files pre-commit passes to treefmt:
153153
```yaml
154154
repos:
155155
- repo: https://github.com/MaxMatti/treefmt-pre-commit
156-
rev: v2.4.0.19
156+
rev: v2.4.1.19
157157
hooks:
158158
- id: treefmt
159159
files: \.(py|js|ts|md)$
@@ -180,11 +180,11 @@ repos:
180180
hooks:
181181
- id: black
182182
- repo: https://github.com/pre-commit/mirrors-prettier
183-
rev: v3.0.0
183+
rev: v2.4.1
184184
hooks:
185185
- id: prettier
186186
- repo: https://github.com/pre-commit/mirrors-eslint
187-
rev: v8.0.0
187+
rev: v2.4.1
188188
hooks:
189189
- id: eslint
190190
```
@@ -195,7 +195,7 @@ You can use a single treefmt hook:
195195
# With treefmt - single hook, configured in treefmt.toml
196196
repos:
197197
- repo: https://github.com/MaxMatti/treefmt-pre-commit
198-
rev: v2.4.0.19
198+
rev: v2.4.1.19
199199
hooks:
200200
- id: treefmt
201201
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "treefmt-pre-commit"
3-
version = "2.4.0.19"
3+
version = "2.4.1"
44
description = "Pre-commit hooks for treefmt"
55
readme = "README.md"
66
requires-python = ">=3.8"

0 commit comments

Comments
 (0)