Skip to content

Commit dfc5809

Browse files
committed
pre-commit: Update repos and run isort with black profile
1 parent d05a7ba commit dfc5809

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: 'v4.1.0'
5+
rev: 'v4.4.0'
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- repo: https://github.com/psf/black
10-
rev: '22.10.0'
10+
rev: '22.12.0'
1111
hooks:
1212
- id: black
1313
- repo: https://github.com/myint/autoflake
14-
rev: 'v1.4'
14+
rev: 'v2.0.0'
1515
hooks:
1616
- id: autoflake
1717
args: ["--in-place", "--remove-unused-variables", "--remove-all-unused-imports"]
1818
- repo: https://github.com/pycqa/isort
19-
rev: '5.10.1'
19+
rev: '5.11.4'
2020
hooks:
2121
- id: isort
2222
name: isort (python)
23+
args: ["--profile", "black"]

0 commit comments

Comments
 (0)