-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (55 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
63 lines (55 loc) · 2.04 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
[build-system]
requires = ["hatchling>=1.18"]
build-backend = "hatchling.build"
[project]
name = "claude-memory-lint"
version = "0.4.0"
description = "A lint for Claude Code memory directories — catches frontmatter rot, oversized files, and stop-word noise before it pollutes Claude's context."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name = "claude-memory-lint contributors" },
]
keywords = ["claude-code", "lint", "memory", "context-pollution", "markdown"]
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Text Processing :: Markup :: Markdown",
]
dependencies = []
[project.optional-dependencies]
dev = ["pytest>=7", "pytest-cov>=4", "ruff>=0.4"]
[project.scripts]
cml = "cml.cli:main"
"claude-memory-lint" = "cml.cli:main"
[project.urls]
Homepage = "https://github.com/hinanohart/claude-memory-lint"
Issues = "https://github.com/hinanohart/claude-memory-lint/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/cml"]
[tool.pytest.ini_options]
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
# Resolve `src/` layout without requiring an editable install; new
# contributors can run `pytest` immediately after cloning instead of
# discovering the editable-install requirement through 17 mysterious
# KeyError failures.
pythonpath = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "RUF"]
# RUF001/002/003: ambiguous unicode characters — false positives on the
# Japanese/full-width punctuation in our tokenizer regex; intentional.
ignore = ["E501", "RUF001", "RUF002", "RUF003"]