Skip to content
Permalink
Browse files

Add pre-commit config

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
  • Loading branch information
nkoep authored and ninamiolane committed Feb 11, 2020
1 parent 520d5b8 commit e840d12366d6533153c79b80784ef8d149b7bdc1
Showing with 18 additions and 0 deletions.
  1. +17 −0 .pre-commit-config.yaml
  2. +1 −0 dev-requirements.txt
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: flake8
exclude: examples/.*ipynb$
- id: mixed-line-ending
args:
- --fix=no
- id: no-commit-to-branch
args:
- --branch=master
- id: trailing-whitespace
@@ -2,3 +2,4 @@ flake8
flake8-docstrings
flake8-import-order
nose2
pre-commit

0 comments on commit e840d12

Please sign in to comment.
You can’t perform that action at this time.