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
119[build-system]
requires = ["uv_build>=0.8,<0.9"]
build-backend = "uv_build"
[project]
name = "cheeto"
version = "2.1.0"
description = "Cheat sheet utility"
readme = "README.md"
license = {file = "LICENSE"}
authors = [{name = "Andy Gimblett", email = "andy@barefootcode.com"}]
requires-python = ">=3.13,<4"
keywords = [
"cheat sheet",
"cheatsheet",
"shell",
"terminal",
"utility",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Unix Shell",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"argparse-formatter>=1.4,<2",
"humanize>=4.12,<4.13",
"more-itertools>=10.7,<10.8",
"platformdirs>=4.3,<4.4",
"rich>=14.1,<14.2",
]
[dependency-groups]
dev = [
"coverage>=7.10,<7.11",
"mypy>=1.17,<1.18",
"pre-commit>=4,<5",
"pytest>=8.4,<8.5",
"pytest-cov>=6.2,<6.3",
"ruff>=0.12",
]
[project.scripts]
cheeto = "cheeto.scripts.cheeto:main"
[project.entry-points."cheeto.utils.markdown.renderers"]
null = "cheeto.utils.markdown:NullRenderer"
rich = "cheeto.utils.markdown:RichRenderer"
mdcat = "cheeto.utils.markdown:MdcatRenderer"
glow = "cheeto.utils.markdown:GlowRenderer"
glowl = "cheeto.utils.markdown:GlowLightRenderer"
[project.urls]
homepage = "https://github.com/gimbo/cheeto"
repository = "https://github.com/gimbo/cheeto"
documentation = "https://github.com/gimbo/cheeto"
[tool.bumpversion]
current_version = "2.1.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} โ {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} โ {new_version}"
moveable_tags = []
commit_args = ""
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[[tool.bumpversion.files]]
filename = "uv.lock"
search = "[[package]]\nname = \"cheeto\"\nversion = \"{current_version}\""
replace = "[[package]]\nname = \"cheeto\"\nversion = \"{new_version}\""
[tool.coverage.run]
branch = true
source_pkgs = ["cheeto"]
[tool.coverage.report]
show_missing = true
skip_covered = true
skip_empty = true
[tool.coverage.html]
skip_covered = false
skip_empty = true
[tool.pytest.ini_options]
addopts = """
--doctest-modules
--cov
--cov-config=pyproject.toml
--cov-report term
--cov-report html
--no-cov-on-fail
"""
xfail_strict = true