From 3831a53a3ef9e78c62512c3a68352759a521abd5 Mon Sep 17 00:00:00 2001 From: Emre Erkunt Date: Fri, 7 Feb 2020 10:01:39 +0000 Subject: [PATCH] Added .pre-commit hooks --- .pre-commit-config.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..3b25c7c2 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.5.0 # Use the ref you want to point at + hooks: + - id: trailing-whitespace + - id: check-ast + - id: check-builtin-literals + - id: check-case-conflict + - id: check-docstring-first + - id: check-json + - id: detect-aws-credentials + - id: detect-private-key + - id: end-of-file-fixer + - id: requirements-txt-fixer