mirror of
https://github.com/VikParuchuri/surya.git
synced 2026-06-04 21:03:53 +08:00
Add linter
This commit is contained in:
parent
b16f138b3e
commit
b07b17d816
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.9.10
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff
|
||||
types_or: [ python, pyi ]
|
||||
args: [ --fix ]
|
||||
# Run the formatter.
|
||||
- id: ruff-format
|
||||
types_or: [ python, pyi ]
|
||||
382
poetry.lock
generated
382
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -27,6 +27,7 @@ opencv-python-headless = "^4.11.0.86"
|
||||
einops = "^0.8.1"
|
||||
mathml-to-latex = "^1.0.0"
|
||||
|
||||
pre-commit = "^4.2.0"
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
jupyter = "^1.0.0"
|
||||
pytesseract = "^0.3.10"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user