From e37f2033a5e87f4df5b2c93ac2e2b3efe82b38b7 Mon Sep 17 00:00:00 2001 From: Oscar V Date: Wed, 5 Nov 2025 17:21:58 -0800 Subject: [PATCH] Remove unused .pre-commit-config.yaml The project uses custom git hooks in .githooks/ directory instead of the pre-commit framework. The .pre-commit-config.yaml file was not being used and conflicted with the existing custom hooks setup. --- .pre-commit-config.yaml | 46 ----------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index f63f17f..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,46 +0,0 @@ -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files - - id: check-json - - id: check-merge-conflict - - id: check-toml - - - repo: https://github.com/psf/black - rev: 23.12.1 - hooks: - - id: black - language_version: python3.9 - - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.1.9 - hooks: - - id: ruff - args: [--fix] - - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 - hooks: - - id: mypy - additional_dependencies: [types-all] - args: [--ignore-missing-imports] - - - repo: local - hooks: - - id: no-claude-mentions - name: Check for Claude mentions - entry: sh -c 'git diff --cached --name-only -z | xargs -0 grep -l -i -E "claude|anthropic|🤖" || exit 0; if [ $? -eq 0 ]; then echo "Error: Found Claude/Anthropic mentions in staged files. Please remove them."; exit 1; fi' - language: system - pass_filenames: false - always_run: true - - id: no-claude-in-commit-msg - name: Check commit message for Claude mentions - entry: sh -c 'if echo "$1" | grep -i -E "claude|anthropic|🤖|generated with|co-authored-by.*claude" > /dev/null; then echo "Error: Commit message contains Claude/Anthropic mentions. Please remove them."; exit 1; fi' - language: system - stages: [commit-msg] - pass_filenames: false - always_run: true \ No newline at end of file