From d620acbbf65855e3b0bbd37d56b0c8bbca052f79 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sun, 23 Oct 2022 22:13:55 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Added=20Pre=20commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .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 7aaafb1..5a99f59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,18 +6,23 @@ repos: rev: v4.3.0 hooks: - id: check-added-large-files + - id: check-ast + - id: check-builtin-literals - id: check-case-conflict - id: check-docstring-first - id: check-executables-have-shebangs - id: check-json - - id: check-toml + - id: check-merge-conflict + - id: check-symlinks - id: check-yaml - id: debug-statements - id: detect-private-key - id: end-of-file-fixer - id: mixed-line-ending - - id: trailing-whitespace - id: requirements-txt-fixer + - id: trailing-whitespace + + - repo: https://github.com/psf/black rev: 22.10.0