mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
15 lines
349 B
YAML
15 lines
349 B
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.16.0
|
|
hooks:
|
|
- id: ruff-check
|
|
args:
|
|
- --fix
|
|
- --unsafe-fixes
|
|
- --line-length=88
|
|
- --select=F401,F841,I
|
|
- --per-file-ignores=__init__.py:F401
|
|
- id: ruff-format
|
|
args:
|
|
- --line-length=88
|