-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (78 loc) · 2.14 KB
/
pyproject.toml
File metadata and controls
90 lines (78 loc) · 2.14 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
89
90
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "clickmd"
version = "1.1.12"
description = "Markdown rendering for CLI applications with syntax highlighting"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "Tom Sapletta", email = "tom@sapletta.com" },
]
keywords = ["cli", "markdown", "terminal", "ansi", "colors", "syntax-highlighting"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"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 :: Libraries :: Python Modules",
"Topic :: Terminals",
"Typing :: Typed",
]
requires-python = ">=3.10"
dependencies = []
[project.optional-dependencies]
click = ["click>=8.0,<9.0"]
rich = ["rich>=13.0"]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
"mypy>=1.0",
"black>=23.0",
"build>=1.0",
"twine>=5.0",
]
all = ["clickmd[click,rich,dev]"]
[project.urls]
Homepage = "https://github.com/wronai/clickmd"
Documentation = "https://github.com/wronai/clickmd#readme"
Repository = "https://github.com/wronai/clickmd"
Issues = "https://github.com/wronai/clickmd/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/clickmd"]
[tool.hatch.build.targets.sdist]
include = ["src/clickmd"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
[tool.coverage.run]
source = ["src/clickmd"]
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]