changeset 66:9b4e308c8733

Add autopep8 pre-commit hook
author Amine SEHILI <amine.sehili@gmail.com>
date Sat, 28 Jan 2017 12:25:34 +0100
parents d276343fe86d
children be6f8899be43
files .pre-commit-config.yaml
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.pre-commit-config.yaml	Sat Jan 28 12:25:34 2017 +0100
@@ -0,0 +1,7 @@
+
+- repo: git://github.com/pre-commit/mirrors-autopep8
+  sha: 575d256007455a3fdf2a6198de7d8168874d89d2
+  hooks:
+  - id: autopep8
+    args: ['-i', '--max-line-length=130']
+