We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f017bc8 commit 8c28676Copy full SHA for 8c28676
.pre-commit-config.yaml
@@ -0,0 +1,8 @@
1
+- repo: git://github.com/pre-commit/pre-commit-hooks
2
+ sha: v1.1.1 # Use the ref you want to point at
3
+ hooks:
4
+ - id: trailing-whitespace
5
+ - id: flake8
6
+ - id: check-added-large-files
7
+ - id: check-executables-have-shebangs
8
+ - id: detect-private-key
tools/activate_hooks.ch
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+pip install pre-commit
+pre-commit install
0 commit comments