-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (47 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
55 lines (47 loc) · 1.92 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "gitmetry"
version = "0.1.0"
description = "Your private developer-efficiency report from git history — 10 dimensions (DORA / SPACE / CodeScene), local and read-only, narrated by an LLM."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Vojtěch Žoha" }]
keywords = ["git", "metrics", "dora", "dora-metrics", "space", "codescene", "git-analytics", "developer-productivity", "code-health", "engineering-metrics", "self-assessment"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Version Control :: Git",
]
dependencies = [] # the core tool is pure Python stdlib — no runtime deps
[project.optional-dependencies]
# Deep layers use external CLI tools, not Python packages:
# scc → https://github.com/boyter/scc (complexity/LOC)
# Only lizard (function CCN) is pip-installable:
analysis = ["lizard>=1.17"]
dev = ["pytest>=7", "ruff>=0.4"]
[project.scripts]
gitmetry = "gitmetry:main"
[project.urls]
Homepage = "https://github.com/vzoha/gitmetry"
Issues = "https://github.com/vzoha/gitmetry/issues"
[tool.setuptools]
py-modules = ["gitmetry"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
# Conservative set: pyflakes (F) + a slice of pycodestyle (E) + bugbear (B) + isort (I).
select = ["E", "F", "B", "I", "UP"]
# The script favors dense one-liners (`a = b; c = d`, single-line imports); don't fight that.
# B023: the loop-defined closures (flush()) are invoked within the same iteration, so the
# late-binding warning is a false positive here.
ignore = ["E701", "E702", "E741", "E401", "B023"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"