Files
TexTeller/.pre-commit-config.yaml
OleehyO bfe070f976 📦️ [chore] Update project for TexTeller 3.0 release
- Update dataset references from TexTeller 1.0 to 3.0 in README files
- Add paper.pdf to assets directory
- Configure pre-commit to exclude assets/ from large file checks

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 22:01:17 +08:00

24 lines
703 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.6
hooks:
- id: ruff
args: [--fix, --respect-gitignore, --config=pyproject.toml]
exclude: ^texteller/models/thrid_party/paddleocr/
- id: ruff-format
args: [--config=pyproject.toml]
exclude: ^texteller/models/thrid_party/paddleocr/
- 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-toml
- id: check-added-large-files
exclude: assets/
- id: check-case-conflict
- id: check-merge-conflict
- id: debug-statements