-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (76 loc) · 2.06 KB
/
pyproject.toml
File metadata and controls
87 lines (76 loc) · 2.06 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gloggur"
version = "0.1.0"
description = "Symbol-level, incremental codebase indexer for semantic search and precedent retrieval."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{name = "Gloggur Contributors"}]
keywords = ["code-search", "indexer", "tree-sitter", "embeddings", "cli"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
dependencies = [
"click>=8.1",
"pydantic>=2.6",
"pyyaml>=6.0",
"tomli>=2.0; python_version < '3.11'",
"watchfiles>=0.22.0",
"tree-sitter>=0.25",
"tree-sitter-language-pack>=0.13.0",
"faiss-cpu>=1.8",
"numpy>=1.26",
"sentence-transformers>=2.7",
]
[project.optional-dependencies]
local = []
openai = ["openai>=1.3", "tenacity>=8.3"]
gemini = ["google-genai>=0.5"]
all = [
"sentence-transformers>=2.7",
"openai>=1.3",
"tenacity>=8.3",
"google-genai>=0.5",
]
dev = [
"build>=1.2",
"wheel",
"pytest>=8.2.0",
"pytest-xdist>=3.6.1",
"pytest-cov>=5.0.0",
"black>=24.4.0",
"mypy>=1.10.0",
"ruff>=0.4.0",
"tomli>=2.0; python_version < '3.11'",
]
[project.scripts]
gloggur = "gloggur.cli.main:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["gloggur*"]
[tool.ruff]
line-length = 100
extend-exclude = [".claude", ".gloggur-cache", "build", "dist"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.black]
line-length = 100
extend-exclude = "/(\\.claude|\\.gloggur-cache|build|dist)/"
[tool.mypy]
python_version = "3.10"
warn_redundant_casts = true
warn_unused_ignores = true
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-n auto --dist=loadscope --cov=src/gloggur --cov-report=term-missing --cov-report=xml"
testpaths = ["tests"]
markers = [
"native_parser: tests that exercise native C/C++ tree-sitter grammars and should run serially in required CI lanes",
"performance: benchmark and timing-sensitive checks that should not block required CI",
]