upgrade black and run via pre-commit

This commit is contained in:
Anthony Sottile 2020-08-27 15:30:14 -07:00
parent e8afdffc8a
commit f0e1324d6d
4 changed files with 13 additions and 14 deletions

View file

@ -5,6 +5,12 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^tests/fixtures/diffs/
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
args: [--line-length=78]
files: ^src/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.720
hooks: