@@ 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