Skip to content

Commit

Permalink
Fix .pre-commit-hooks
Browse files Browse the repository at this point in the history
- Use pycqa flake8 version
- Remove default --safe black option
  • Loading branch information
Bastien Vallet committed May 18, 2020
1 parent 190bafb commit a7ef3a7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,25 @@ repos:
args: [--allow-multiple-documents]
- id: debug-statements
- id: end-of-file-fixer
- id: flake8
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://gitlab.com/pycqa/flake8
rev: 'master'
hooks:
- id: flake8

- repo: https://github.com/miki725/importanize
rev: 'master'
hooks:
- id: importanize
language_version: python3

- repo: https://github.com/python/black
rev: 'master'
rev: 'stable'
hooks:
- id: black
args: [--line-length=88, --safe]
args: [--line-length=88, --safe, --check, --diff]
language_version: python3
exclude: test_data/.*$

Expand Down

0 comments on commit a7ef3a7

Please sign in to comment.