Skip to content

Commit

Permalink
MAINT Update pre-commit setup for black (scikit-learn#20292)
Browse files Browse the repository at this point in the history
  • Loading branch information
rth authored Jun 18, 2021
1 parent ffad00d commit bf0da87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 21.6b0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
rev: 3.9.2
hooks:
- id: flake8
types: [file, python]
# only check for unused imports for now, as long as
# the code is not fully PEP8 compatible
args: [--select=F401]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.782
hooks:
Expand Down

0 comments on commit bf0da87

Please sign in to comment.