Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (77 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (77 loc) · 2.07 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
[project]
name = "last30days-skill"
version = "4.3.2"
description = "Multi-source last-30-days research skill"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[dependency-groups]
dev = [
"pytest>=9.1.1,<10",
"pytest-cov>=7,<8",
"pytest-xdist>=3.8,<4",
"pyyaml>=6.0.2,<7",
"towncrier>=25.8.0,<27",
]
[tool.towncrier]
name = "last30days-skill"
directory = "changelog.d"
filename = "CHANGELOG.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
title_format = "## [{version}] - {project_date}"
issue_format = "[#{issue}](https://github.com/mvanhorn/last30days-skill/issues/{issue})"
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = [
"-q",
"--tb=short",
]
[tool.coverage.run]
branch = true
source = ["skills/last30days/scripts"]
omit = [
"skills/last30days/scripts/lib/vendor/*",
"dist/*",
]
[tool.coverage.report]
skip_empty = true
show_missing = true
# Coverage gate (issue #254). Floor intended to rise over time, not a ceiling.
# Baseline measured 2026-09-23 on the full suite with scripts-tree source
# (tests/ excluded): TOTAL 82.28%. The previous 84 floor was measured with
# source = scripts + tests, where well-tested test code inflated the number;
# excluding tests/ lowers the honest baseline, which is why the floor moves
# 84 -> 81. Pinned at 81 (not 82) for ~1.3pp headroom against the measured
# 82.28; raise back toward 82+ as coverage grows.
# Do not lower without documenting why in the PR (see AGENTS.md Rules).
fail_under = 81
omit = [
"skills/last30days/scripts/lib/vendor/*",
"dist/*",
]