-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (81 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
95 lines (81 loc) · 1.84 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "repomix"
version = "0.5.0"
description = "A tool for analyzing and summarizing code repositories"
authors = [{ name = "Anderson", email = "andersonby@163.com" }]
dependencies = [
"questionary>=2.0.1",
"chardet>=5.2.0",
"pyperclip>=1.9.0",
"tiktoken>=0.8.0",
"detect-secrets>=1.5.0",
"mcp>=1.2.0",
"tree-sitter>=0.20.0",
"tree-sitter-python>=0.20.0",
"tree-sitter-javascript>=0.20.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.scripts]
# Release management
release = "python scripts/release-wizard.py"
collect-commits = "python scripts/collect-commits.py"
quick-release = "python scripts/release.py"
# Development shortcuts
test = "python -m pytest"
lint = "ruff check ."
lint-fix = "ruff check --fix ."
typecheck = "ty check src"
format = "ruff format ."
# Quality checks (run all)
check = [
"test",
"lint",
"typecheck"
]
[project.scripts]
repomix = "repomix.cli:run"
[dependency-groups]
dev = [
"pytest>=8.3.5",
"pytest-asyncio>=1.1.0",
"ruff>=0.8.0",
"ty>=0.0.1a7",
]
[tool.ty.environment]
python-version = "3.10"
[tool.ruff]
line-length = 160
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by formatter
"I001",
"UP035",
"UP006",
"UP045",
]
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["repomix"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"