-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (63 loc) · 1.47 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
[project]
name = "mailbox_report_generator"
readme = "README.md"
version = "0.1.3"
description = "Tool to analyze a mbox mail dump"
authors = [
{name = "Jacopo Farina", email = "jacopo1.farina@gmail.com"},
]
dependencies = [
"plotly==5.13.0",
"tqdm>=4.64.1",
]
requires-python = ">=3.10"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"mypy>=0.991",
"black>=22.12.0",
"types-tqdm>=4.64.7.11",
"isort>=5.11.4",
"pytest>=7.2.1",
"pytest-cov>=4.0.0",
]
[tool.setuptools]
# explicitly specified to ignore folders like htmlcov that
# would be auto-discovered as packages
packages = [
"mailanalysis",
# explicit, to include assets too
"mailanalysis.static_assets"
]
# true by default, just to be explicit
include-package-data = true
[tool.setuptools.package-data]
"mailanalysis.static_assets" = ["*"]
[[tool.mypy.overrides]]
module = [
"plotly",
"plotly.graph_objects"
]
ignore_missing_imports = true
[tool.pdm.scripts]
mypy = {cmd = [
"mypy",
"--strict",
"mailanalysis",
]}
test_with_coverage = {cmd = [
"pytest",
"--cov=mailanalysis",
"--cov-report",
"html",
"tests/",
]}
[project.urls]
"Homepage" = "https://github.com/jacopofar/mailbox-report-generator"
"Bug Tracker" = "https://github.com/jacopofar/mailbox-report-generator/issues"
[project.scripts]
generate_mbox_report = "mailanalysis.__main__:main"