From 7fe39e9a364004c04894113d5a0a1b9604ad94c1 Mon Sep 17 00:00:00 2001 From: Kyriakos Georgiou Date: Mon, 3 Oct 2022 11:00:11 -0400 Subject: [PATCH] feat: add formatting pre-commit hook --- .pre-commit-config.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05ec454..d2e6aed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,12 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.0.0 + - repo: https://github.com/psf/black + rev: 22.8.0 + hooks: + - id: black + language_version: python3.7 + - repo: https://gitlab.com/pycqa/flake8 + rev: 3.9.2 hooks: - id: flake8 \ No newline at end of file