-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.23 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (52 loc) · 1.23 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "synthkit"
version = "0.6.2"
description = "Production tools for working with AI — Markdown to PDF, DOCX, HTML, and email"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
dependencies = [
"click",
"pypandoc_binary",
"pyperclip",
"weasyprint",
]
[project.scripts]
synthkit = "synthkit.cli:main"
md2doc = "synthkit.cli:md2doc_cmd"
md2email = "synthkit.cli:md2email_cmd"
md2html = "synthkit.cli:md2html_cmd"
md2pdf = "synthkit.cli:md2pdf_cmd"
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "ruff", "mypy"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py310"
src = ["src"]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.10"
mypy_path = "src"
packages = ["synthkit"]
strict = false
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["pypandoc", "pyperclip"]
ignore_missing_imports = true
[tool.hatch.build.targets.wheel]
packages = ["src/synthkit"]
[tool.hatch.build.targets.sdist]
include = [
"src/synthkit",
"style.css",
"README.md",
"LICENSE",
]