-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (107 loc) · 2.68 KB
/
pyproject.toml
File metadata and controls
118 lines (107 loc) · 2.68 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "greybeard"
version = "0.2.0"
description = "CLI-first Staff Review & Decision Assistant"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Brian Hopkins", email = "btotharye@gmail.com" },
]
keywords = [
"code-review",
"llm",
"staff-engineer",
"architecture",
"mcp",
"cli",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Code Generators",
]
dependencies = [
"click>=8.1",
"openai>=1.0",
"pyyaml>=6.0",
"rich>=13.0",
"python-dotenv>=1.0",
]
[project.urls]
Homepage = "https://github.com/btotharye/greybeard"
Documentation = "https://greybeard.readthedocs.io/en/latest/"
"Source Code" = "https://github.com/btotharye/greybeard"
"Issue Tracker" = "https://github.com/btotharye/greybeard/issues"
Changelog = "https://github.com/btotharye/greybeard/blob/main/CHANGELOG.md"
[project.scripts]
greybeard = "staff_review.cli:cli"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4",
"pre-commit>=3.5",
"mypy>=1.8",
]
anthropic = [
"anthropic>=0.25",
]
docs = [
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"pymdown-extensions>=10.0",
]
all = [
"anthropic>=0.25",
"mkdocs>=1.6",
"mkdocs-material>=9.5",
"pymdown-extensions>=10.0",
]
[tool.hatch.build.targets.wheel]
packages = ["staff_review"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--tb=short --cov=staff_review --cov-report=term-missing --cov-report=xml --cov-report=html"
[tool.coverage.run]
source = ["staff_review"]
omit = [
"*/__pycache__/*",
"*/tests/*",
"*/.venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
show_missing = true
precision = 2
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false # Start permissive, gradually enable
ignore_missing_imports = true
show_error_codes = true