forked from mattsta/signal-backup
-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
pyproject.toml
98 lines (82 loc) · 1.75 KB
/
pyproject.toml
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
91
92
93
94
95
96
97
98
[tool.rye.scripts]
sig = "sigexport"
fmt = "rye fmt"
lint = "rye lint --fix"
check = "pyright"
test = "pytest"
all = { chain = ["fmt", "lint", "check", "test"] }
[project]
name = "signal-export"
description = "Export Signal conversations to Markdown and HTML"
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">= 3.9"
keywords = ["backup", "chat", "export"]
authors = [
{name = "Chris Arderne", email="[email protected]"},
]
dynamic = ["version"]
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Programming Language :: Python",
]
dependencies = [
"beautifulsoup4 ~= 4.11",
"emoji ~= 2.0",
"Markdown ~= 3.4",
"typer >= 0.12.1",
"pycryptodome ~= 3.20",
"sqlcipher3-wheels >= 0.5.2.post1",
]
[tool.rye]
managed = true
generate-hashes = false
dev-dependencies = [
"pyright",
"pytest",
"pytest-cov",
"types-Markdown",
"types-emoji",
]
[project.urls]
homepage = "https://github.com/carderne/signal-export"
repository = "https://github.com/carderne/signal-export"
[project.scripts]
sigexport = "sigexport.main:cli"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
includes = ["sigexport/"]
[tool.pdm.version]
source = "scm"
[tool.ruff]
target-version = "py39"
exclude = ["tests"]
[tool.ruff.lint]
select = [
"F",
"E",
"I",
"U",
"N",
"E",
"S",
"T100",
"A",
"Q",
"ANN",
]
[tool.ruff.lint.isort]
known-first-party = ["sigexport"]
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["sigexport", "tests"]
reportMissingImports = true
reportMissingParameterType = true
reportUnnecessaryTypeIgnoreComment = true
reportDeprecated = true
pythonVersion = "3.9"