From 32e2373d3ee5915596dee810d686a3fc4096fb5c Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 20 Apr 2026 10:07:39 +0300 Subject: [PATCH] chore: updaste .pre-commit-config.yaml and .gitignore --- .gitignore | 1 + .pre-commit-config.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 43f4b6f..2233054 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ venv/ .venv/ +__pycache__/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 572d6e3..f520c0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,8 @@ # https://pre-commit.com/ ci: - autofix_commit_msg: 'ci: auto fixes from pre-commit.com hooks' - autoupdate_commit_msg: 'ci: pre-commit autoupdate' + autofix_prs: true + autofix_commit_msg: 'chore: auto fixes from pre-commit.com hooks' + autoupdate_commit_msg: 'chore: pre-commit autoupdate' repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -25,3 +26,4 @@ repos: rev: v2.4.2 hooks: - id: codespell + args: [--ignore-words-list=assertin]