-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (122 loc) · 4.19 KB
/
pyproject.toml
File metadata and controls
131 lines (122 loc) · 4.19 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools>=82.0.1", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "llm-notebook"
version = "1.3.82"
description = "Karpathy-style LLM wiki from your Claude Code, Codex CLI, Cursor, and Obsidian sessions"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [
{ name = "Pratiyush", email = "pratiyush1@gmail.com" }
]
keywords = [
"llm-wiki",
"karpathy",
"knowledge-base",
"claude-code",
"codex-cli",
"cursor",
"obsidian",
"session-history",
"static-site",
"mcp",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Framework :: Pytest",
"Typing :: Typed",
"Natural Language :: English",
]
dependencies = [
"markdown>=3.9",
]
[project.optional-dependencies]
# `highlight` is kept as an empty alias for v0.4 users who wrote
# `pip install -e '.[highlight]'` in docs or CI scripts. v0.5+ uses
# highlight.js via CDN, so no Python-side highlighter dep is needed.
highlight = []
# Simplification sweep removed the PDF adapter; the [pdf] extra is
# dropped here too. Don't reintroduce — the user pruned it deliberately.
graph = ["graphifyy>=0.4.20"]
dev = [
"pytest>=8.4.2",
"ruff>=0.15.11",
]
# E2E test harness — Playwright drives a real browser + pytest-bdd
# turns Gherkin `.feature` files into pytest scenarios + pytest-html
# produces a browseable HTML report per run. Opt-in because
# Playwright installs ~300 MB of browsers per engine.
# Install with: `pip install -e '.[e2e]'` then `playwright install chromium`
e2e = [
"pytest>=8.4.2",
"pytest-playwright>=0.7.1",
"pytest-bdd>=8.1.0",
"pytest-html>=4.2.0",
# Pillow powers the image-diff used by tests/e2e/test_visual_regression.py.
# Without it the visual regression scenario falls back to capture-only mode
# (a warning, not a failure) so the suite still works on minimal installs.
"Pillow>=10.0",
]
all = [
"graphifyy>=0.4.20",
]
[project.urls]
Homepage = "https://github.com/Pratiyush/llm-wiki"
Documentation = "https://github.com/Pratiyush/llm-wiki/tree/master/docs"
Repository = "https://github.com/Pratiyush/llm-wiki"
Issues = "https://github.com/Pratiyush/llm-wiki/issues"
Changelog = "https://github.com/Pratiyush/llm-wiki/blob/master/CHANGELOG.md"
Releases = "https://github.com/Pratiyush/llm-wiki/releases"
[project.scripts]
llmwiki = "llmwiki.cli:main"
[tool.setuptools]
packages = ["llmwiki", "llmwiki.adapters", "llmwiki.adapters.contrib", "llmwiki.lint", "llmwiki.mcp", "llmwiki.render", "llmwiki.synth"]
[tool.setuptools.package-data]
llmwiki = ["py.typed"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long — we have long strings for CSS/JS
"E402", # module-level import not at top — we do this in build.py
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# --ignore tests/e2e keeps the fast unit + integration suite unaware
# of the Playwright + pytest-bdd harness. Run E2E explicitly:
# pytest tests/e2e/ --no-header -p no:cacheprovider
addopts = "-q --ignore=tests/e2e"
# #429: register custom markers so pytest doesn't warn on @pytest.mark.slow.
# `slow` flags wall-clock perf-budget tests in test_lint_perf.py.
markers = [
"slow: marks tests as slow (perf-budget, deselect with '-m \"not slow\"')",
]