forked from hhx465453939/mineru-tianshu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (32 loc) · 909 Bytes
/
pyproject.toml
File metadata and controls
37 lines (32 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# MinerU-Server Project Configuration
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
[project]
name = "mineru-server"
version = "1.0.0"
description = "MinerU Tianshu - Enterprise AI Data Processing Platform"
requires-python = ">=3.12"
# ============================================================
# Ruff - Fast Python Linter & Formatter
# Docs: https://docs.astral.sh/ruff/
# Note: Pre-commit hooks will use these settings by default
# ============================================================
[tool.ruff]
target-version = "py312"
line-length = 120
# Exclude directories
exclude = [
".git",
"__pycache__",
"models",
"node_modules",
"venv",
".venv",
]
[tool.ruff.lint]
# Only enable critical checks (same as pre-commit)
select = ["E", "F"]
ignore = ["E402", "E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"