Skip to content
Permalink
Browse files

Add black to pre-commit-hooks

  • Loading branch information
benjaoming committed Jan 9, 2020
1 parent 5c5d7dc commit eff327f75888bb4ece7af6b27f3b22517ad710a7
Showing with 5 additions and 6 deletions.
  1. +5 −6 .pre-commit-config.yaml
@@ -1,5 +1,5 @@
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.2.0
hooks:
- id: trailing-whitespace
@@ -9,9 +9,8 @@ repos:
- id: check-added-large-files
- id: debug-statements
- id: end-of-file-fixer
- repo: git://github.com/FalconSocial/pre-commit-python-sorter
sha: b57843b0b874df1d16eb0bef00b868792cb245c2
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: python-import-sorter
args:
- --silent-overwrite
- id: black
language_version: python3.6

0 comments on commit eff327f

Please sign in to comment.
You can’t perform that action at this time.