Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
added simple precommit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sroberts committed Jan 2, 2016
1 parent 4f69d52 commit 8a8a5c7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: master
hooks:
- id: autopep8-wrapper
args: ['-i', '--ignore=E501']
- id: check-json
- id: check-yaml
- id: end-of-file-fixer
- id: flake8
args: [--max-line-length=140]
- id: trailing-whitespace

- repo: git://github.com/ivanlei/pre-commit-python-sorter
sha: master
hooks:
- id: python-import-sorter
args: [--silent-overwrite, --force_single_line]

0 comments on commit 8a8a5c7

Please sign in to comment.