ENH: Update .pre-commit-config.yaml

Refactor after review and feedback from @ssanderson
This commit is contained in:
Willian Paixao 2020-01-28 15:13:36 +01:00
parent 2f3821cdaa
commit 6e62c9c86e
No known key found for this signature in database
GPG key ID: A83D5AA828A0EDA0

View file

@ -1,20 +1,13 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v2.4.0' rev: 'v2.4.0'
hooks: hooks:
- id: trailing-whitespace - id: check-added-large-files
- id: end-of-file-fixer - id: check-merge-conflict
- id: check-merge-conflict - id: end-of-file-fixer
- id: flake8 - id: trailing-whitespace
- repo: https://github.com/PyCQA/bandit - repo: https://gitlab.com/pycqa/flake8
rev: '1.6.2' rev: '3.7.9'
hooks: hooks:
- id: bandit - id: flake8
- repo: local
hooks:
- id: nosetests
name: nosetests
entry: nosetests --with-coverage
language: system