-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 2.14 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (72 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "museletter"
version = "1.1.0"
description = "A headless, agent-first newsletter engine. One container, one SQLite database, Amazon SES."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
keywords = ["newsletter", "email", "ses", "headless", "self-hosted"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Communications :: Email",
]
dependencies = [
"fastapi>=0.115",
"uvicorn>=0.30",
"httpx>=0.27",
"aiosqlite>=0.20",
"typer>=0.12",
"mistune>=3.0",
"html2text>=2024.2.26",
"cryptography>=42.0",
"dnspython>=2.6",
"python-multipart>=0.0.9",
]
[project.urls]
Homepage = "https://github.com/sanketsaurav/museletter"
Issues = "https://github.com/sanketsaurav/museletter/issues"
[project.scripts]
museletter = "museletter.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"ruff>=0.8",
"ty",
]
[tool.hatch.build.targets.wheel]
packages = ["src/museletter"]
# Ship the README inside the package so `museletter docs` can print it offline.
[tool.hatch.build.targets.wheel.force-include]
"README.md" = "museletter/README.md"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
line-length = 110
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E4", "E7", "E9", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # import sorting
"UP", # pyupgrade
"B", # bugbear
"C4", # comprehensions
]
[tool.ruff.lint.per-file-ignores]
# B008: typer declares CLI options via function calls in defaults by design
"src/museletter/cli.py" = ["B008"]