From 3884bd3de50a4dc5fe5dd1807e8ea6ab8a9b2596 Mon Sep 17 00:00:00 2001 From: James Turk Date: Thu, 21 May 2020 15:43:55 -0400 Subject: [PATCH] black & pre-commit config --- .pre-commit-config.yaml | 14 ++++++++++++++ 1 file changed, 14 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 0000000..ce1f081 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +default_language_version: + python: python3.7 +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.5.0 # Use the ref you want to point at + hooks: + - id: check-merge-conflict + - id: debug-statements + - id: flake8 + args: ["--ignore=E203,E501,W503"] +- repo: https://github.com/ambv/black + rev: 19.10b0 + hooks: + - id: black