-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (69 loc) · 2.54 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
[project]
name = "agent-backup"
version = "0.1.0"
description = "Back up coding-agent sessions — Claude Code, Codex, or any JSONL agent — to Markdown, ZIP archives and verifiable 1:1 snapshots"
requires-python = ">=3.10"
dependencies = []
readme = "README.md"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
authors = [{ name = "Ulf Bertilsson" }]
maintainers = [{ name = "Ulf Bertilsson" }]
keywords = ["backup", "archive", "mirror", "transcript", "session", "claude-code", "codex", "jsonl", "audit"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Archiving :: Backup",
"Topic :: Utilities",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/djayuffe/agent-backup"
Repository = "https://github.com/djayuffe/agent-backup"
Issues = "https://github.com/djayuffe/agent-backup/issues"
Changelog = "https://github.com/djayuffe/agent-backup/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = ["pytest>=7", "pytest-cov>=4", "ruff>=0.6", "mypy>=1.8", "build>=1", "twine>=5"]
[project.scripts]
agent-backup = "agent_backup:main"
claude-backup = "claude_backup:main"
claude-full-backup = "claude_full_backup:main"
codex-backup = "codex_backup:main"
codex-full-backup = "codex_full_backup:main"
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ["agent_backup", "claude_backup", "claude_full_backup", "codex_backup", "codex_full_backup"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
# A warning is a defect until proven otherwise: an unclosed SQLite handle in the
# schema collector only showed up this way.
filterwarnings = ["error"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4", "RET"]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
files = ["agent_backup.py", "claude_backup.py", "claude_full_backup.py", "codex_backup.py", "codex_full_backup.py"]
[tool.coverage.run]
source = ["agent_backup"]
parallel = true
# The CLI is tested through subprocesses; see tests/conftest.py.
sigterm = true
[tool.coverage.report]
fail_under = 90
show_missing = true