Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (77 loc) · 3.18 KB
/
Copy pathpyproject.toml
File metadata and controls
85 lines (77 loc) · 3.18 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
[project]
name = "codigest"
version = "0.14.1"
description = "Human-Centered Codebase Context Manager for LLMs"
authors = [{ name = "Isaac Yong", email = "isaacyong@naver.com" }]
readme = "README.md"
requires-python = ">=3.15.0b1"
license = { text = "MIT" }
dependencies = [
"typer",
"rich",
"loguru",
"pathspec",
"pyperclip",
"tomli-w",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.15",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Intended Audience :: Developers",
]
[project.urls]
Homepage = "https://github.com/NaNIsaac/codigest"
Repository = "https://github.com/NaNIsaac/codigest"
Issues = "https://github.com/NaNIsaac/codigest/issues"
[project.scripts]
codigest = "codigest.main:cli"
cdg = "codigest.main:cli"
[build-system]
requires = ["uv_build>=0.12.7,<0.13"]
build-backend = "uv_build"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = ["B", "I", "UP"]
# violations present when ruff became mandatory in CI; remove entries as they are fixed
[tool.ruff.lint.extend-per-file-ignores]
"src/codigest/commands/cap.py" = ["I001"]
"src/codigest/commands/clean.py" = ["B008"]
"src/codigest/commands/diff.py" = ["B008", "BLE001", "I001"]
"src/codigest/commands/digest.py" = ["B008", "BLE001", "I001", "S112"]
"src/codigest/commands/init.py" = ["B008"]
"src/codigest/commands/mark.py" = ["B008"]
"src/codigest/commands/mcp.py" = ["BLE001", "I001", "PLW1510", "SIM115"]
"src/codigest/commands/pack.py" = ["B008", "I001", "UP017"]
"src/codigest/commands/scan.py" = ["B008", "BLE001", "I001", "S112"]
"src/codigest/commands/semdiff.py" = ["B008", "BLE001", "I001"]
"src/codigest/commands/status.py" = ["B008", "RUF059"]
"src/codigest/commands/term.py" = ["BLE001", "I001", "PLW1510"]
"src/codigest/commands/tree.py" = ["B008", "I001"]
"src/codigest/core/cache.py" = ["BLE001", "I001", "S110", "SIM102", "UP012"]
"src/codigest/core/common.py" = ["BLE001", "I001", "S110"]
"src/codigest/core/git_ops.py" = ["I001"]
"src/codigest/core/output.py" = ["BLE001", "I001"]
"src/codigest/core/processor.py" = ["BLE001", "I001"]
"src/codigest/core/prompts.py" = ["BLE001", "I001"]
"src/codigest/core/redact.py" = ["RUF007"]
"src/codigest/core/resolver.py" = ["BLE001", "I001", "S112", "SIM102"]
"src/codigest/core/runner.py" = ["I001"]
"src/codigest/core/scanner.py" = ["BLE001", "I001", "SIM102"]
"src/codigest/core/semdiff.py" = ["BLE001", "I001", "S110"]
"src/codigest/core/shadow.py" = ["BLE001", "I001", "PLW1510", "S112"]
"src/codigest/core/structure.py" = ["I001"]
"src/codigest/core/tags.py" = ["I001"]
"src/codigest/core/termstore.py" = ["I001"]
"src/codigest/core/tokenizer.py" = ["I001"]
"src/codigest/main.py" = ["BLE001", "I001"]
"src/codigest/options.py" = ["I001"]
"tests/test_term_install.py" = ["PIE807", "UP012"]
# Test command for merge tooling that runs the suite before landing a PR (pytest and
# pywinpty are not project dependencies; the suite drives a real terminal on Windows).
[tool.pr-land]
test-command = "uv run --with pytest --with pywinpty pytest -q -p no:cacheprovider --basetemp {basetemp}"