Skip to content

Commit f790769

Browse files
committed
Migrate to a hosted black pre-commit hook
1 parent b035ff5 commit f790769

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ repos:
1515
- id: pyupgrade
1616
args: ["--py39-plus"]
1717

18-
- repo: local
18+
- repo: https://github.com/psf/black-pre-commit-mirror
19+
rev: 25.1.0
1920
hooks:
2021
- id: black
21-
name: black
22-
entry: black
23-
language: system
24-
require_serial: true
25-
types: [python]
2622

23+
- repo: local
24+
hooks:
2725
- id: isort
2826
name: isort
2927
entry: isort

0 commit comments

Comments
 (0)