-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (120 loc) · 3.16 KB
/
pyproject.toml
File metadata and controls
135 lines (120 loc) · 3.16 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
132
133
134
135
[project]
name = "wikiform"
version = "1.0.0"
dynamic = ["dependencies"]
description = "LLM-powered wiki management CLI"
requires-python = ">=3.14"
authors = [{ name = "Harish SEGAR <segharish@gmail.com>" }]
keywords = [
"wiki",
"knowledge management",
"LLM",
"obsidian",
"markdown",
"FTS5",
]
classifiers = ["Programming Language :: Python :: 3.14"]
[project.urls]
homepage = "https://github.com/wikiform/wikiform"
repository = "https://github.com/wikiform/wikiform"
documentation = "https://github.com/wikiform/wikiform"
issues = "https://github.com/wikiform/wikiform/issues"
changelog = "https://github.com/wikiform/wikiform/blob/main/CHANGELOG.md"
[project.scripts]
wikiform = "wikiform.cli:cli"
[tool.pytest.ini_options]
addopts = ""
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["wikiform"]
disable_warnings = ["no-data-collected"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]
[tool.coverage.html]
directory = "coverage_html_report"
[tool.ruff]
line-length = 160
exclude = ["tests"]
# Linter rule sets
select = [
"E", # pycodestyle (errors)
"F", # pyflakes
"W", # pycodestyle (warnings)
"B", # flake8-bugbear
"S", # bandit (security)
"I", # isort-compatible import sorting
"UP", # pyupgrade
"C90", # mccabe complexity
]
# Ignore specific rules
ignore = [
"E203", # Whitespace before ':'
"E501", # Line length (handled by formatter)
"E701", # Multiple statements on one line (if/else/for)
"UP007", # Union type annotation
"C901", # Function is too complex
"B006", # Do not use mutable data structures for argument defaults
"S105", # Possible hardcoded password assigned
]
# Formatter (Black-compatible)
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
docstring-code-format = true
skip-magic-trailing-comma = false
[tool.poetry]
name = "wikiform"
version = "1.0.0"
description = "Wiki vault maintenance CLI - index, lint, and search your wiki."
authors = ["Harish SEGAR <segharish@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/wikiform/wikiform"
repository = "https://github.com/wikiform/wikiform"
documentation = "https://github.com/wikiform/wikiform"
keywords = [
"wiki",
"knowledge management",
"LLM",
"obsidian",
"markdown",
"FTS5",
]
packages = [{ include = "wikiform" }]
exclude = ["wikiform/tests/*"]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.14"
click = "^8.1"
python-frontmatter = "^1.1"
loguru = "^0.7"
rich = "^13.0"
markitdown = { version = "^0.1.5", extras = [
"pdf",
"docx",
"xlsx",
"xls",
"pptx",
] }
opendataloader-pdf = "^2.2.1"
sqlite-vec = "^0.1.9"
sentence-transformers = "^5.4.1"
requests = "^2.33.1"
trafilatura = "^2.0.0"
[tool.poetry.group.dev.dependencies]
bandit = "^1.9.3"
black = "^26.1.0"
flake8 = "^7.3.0"
pre-commit = "^4.5.1"
pytest = "^9.0.2"
pytest-cov = "7.0.0"
ruff = "^0.14.13"
wheel = "^0.46.0"
yamllint = "^1.38.0"
twine = "^6.2.0"
[tool.poetry.scripts]
wikiform = "wikiform.cli:cli"