From 0b8fd6f4609e17284b59683d8b591a74114b09fb Mon Sep 17 00:00:00 2001 From: Priyanshi Gaur Date: Mon, 11 Mar 2024 02:39:16 +0530 Subject: [PATCH] Add pre-commit.ci to automatically fix code style Signed-off-by: Priyanshi Gaur --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d04c4f..578dd11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,18 @@ exclude: \\.coverage.* default_language_version: python: python3.9 +ci: + autofix_commit_msg: | + [pre-commit.ci] auto fixes from pre-commit.com hooks + + for more information, see https://pre-commit.ci + autofix_prs: true + autoupdate_branch: '' + autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate' + autoupdate_schedule: weekly + skip: [] + submodules: false + repos: - repo: local hooks: