-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.22 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.22 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "codemd"
version = "0.0.3"
authors = [
{ name = "Peilin Yu", email = "peilin_yu@brown.edu" },
]
description = "Transform code repositories into markdown-formatted strings ready for LLM prompting"
readme = "README.md"
requires-python = ">=3.8"
license = "Apache-2.0"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"pathlib>=1.0.1",
"typing-extensions>=4.0.0",
"pathspec>=0.11.0",
]
[project.urls]
"Homepage" = "https://github.com/dotpyu/codemd"
"Bug Tracker" = "https://github.com/dotpyu/codemd/issues"
[project.scripts]
codemd = "codemd.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=22.0",
"flake8>=5.0",
"mypy>=1.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-ra -q --cov=codemd"
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise NotImplementedError",
"raise ImportError",
]