Skip to content

Commit

Permalink
add .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Aug 20, 2019
1 parent 6a8b13e commit 98615a8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.1
hooks:
- id: flake8
args: ['--max-line-length=500', '--ignore=E203,E266,E501,W503', '--max-complexity=18', '--select=B,C,E,F,W,T4,B9']
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/asottile/pyupgrade
rev: v1.16.3
hooks:
- id: pyupgrade

0 comments on commit 98615a8

Please sign in to comment.