Update pre-commit and fix existing flake8 warnings once for all

This commit is contained in:
Bastien Gérard
2020-04-25 21:36:07 +02:00
parent 1312100bc7
commit ef7da36ac6
9 changed files with 43 additions and 45 deletions

View File

@@ -1,13 +1,13 @@
fail_fast: false
repos:
- repo: https://github.com/ambv/black
rev: 19.3b0
rev: 19.10b0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
# language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.0a2
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: flake8
additional_dependencies:
- flake8-import-order