-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (95 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
103 lines (95 loc) · 2.15 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
91
92
93
94
95
96
97
98
99
100
101
102
103
[project]
name = "mail-parser"
dynamic = ["version"]
description = "A tool that parses emails by enhancing the Python standard library, extracting all details into a comprehensive object."
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.9,<3.15"
keywords = ["email", "mail", "parser", "security", "forensics", "threat detection", "phishing", "malware", "spam"]
classifiers = [
"Natural Language :: English",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
authors = [
{ name = "Fedele Mantuano", email = "mantuano.fedele@gmail.com" }
]
maintainers = [
{ name = "Fedele Mantuano", email = "mantuano.fedele@gmail.com" }
]
dependencies = []
[dependency-groups]
dev = [
"build>=1.2.2.post1",
"hatch>=1.14.0",
"pre-commit>=4.0.1",
"ruff>=0.9.9",
"twine>=6.0.1",
"wheel>=0.45.1",
]
test = [
"coverage>=7.6.10",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"pytest-ordering>=0.6",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
default-groups = ["dev", "test"]
[tool.hatch.build.targets.wheel]
packages = ["src/mailparser"]
[tool.hatch.version]
path = "src/mailparser/version.py"
[project.scripts]
mail-parser = "mailparser.__main__:main"
[tool.pytest.ini_options]
testpaths = "tests"
markers = [
"integration: integration tests",
]
addopts = """
--strict-markers
--strict-config
-ra
--cov=src
--cov=tests
--cov-report=term
--cov-branch
--cov-report=xml
--cov-report=html
--junitxml=junit.xml
--verbose
"""
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pyflakes
"F",
# pyupgrade
# "UP",
# flask8-bugbear
# "B",
# flake8-simplify
# "SIM",
# isort
"I",
# flask8-bandit
# "S",
# flake8-pytest-style
# "PT",
# flake8-annotations
# "ANN",
]