Skip to content

Commit bf0da87

Browse files
authored
MAINT Update pre-commit setup for black (scikit-learn#20292)
1 parent ffad00d commit bf0da87

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.pre-commit-config.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ repos:
55
- id: check-yaml
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
8+
- repo: https://github.com/psf/black
9+
rev: 21.6b0
10+
hooks:
11+
- id: black
812
- repo: https://gitlab.com/pycqa/flake8
9-
rev: 3.7.8
13+
rev: 3.9.2
1014
hooks:
1115
- id: flake8
1216
types: [file, python]
13-
# only check for unused imports for now, as long as
14-
# the code is not fully PEP8 compatible
15-
args: [--select=F401]
1617
- repo: https://github.com/pre-commit/mirrors-mypy
1718
rev: v0.782
1819
hooks:

0 commit comments

Comments
 (0)