-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (69 loc) · 2.16 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
[project]
name = "dmarc-report"
version = "1.1.0"
description = "Displays a nicely formatted report in your terminal from a DMARC XML report."
readme = "README.md"
authors = [{ name = "Stuart Maxwell", email = "[email protected]" }]
requires-python = ">=3.9"
dependencies = ["defusedxml>=0.7.1", "rich>=13.9.4"]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
]
keywords = [
"dmarc",
"email",
"security",
"spf",
"dkim",
"dmarc-report",
"dmarc-xml",
]
[project.urls]
Homepage = "https://github.com/stuartmaxwell/dmarc-report"
Repository = "https://github.com/stuartmaxwell/dmarc-report"
Issues = "https://github.com/stuartmaxwell/dmarc-report/issues"
[project.scripts]
dmarc-report = "dmarc_report.report:report"
[dependency-groups]
dev = ["bumpver>=2024.1130"]
[project.optional-dependencies]
test = ["nox>=2024.10.9", "pytest>=8.3.4"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
target-version = "py313"
select = ["ALL"]
ignore = [
"D203", # https://docs.astral.sh/ruff/rules/one-blank-line-before-class/
"D213", # https://docs.astral.sh/ruff/rules/multi-line-summary-second-line/
"UP007",
]
[tool.ruff.lint.pydocstyle]
convention = "google" # Accepts: "google", "numpy", or "pep257".
[tool.ruff.per-file-ignores]
"test*" = ["ALL"]
[tool.pytest.ini_options]
python_files = "test_*.py"
[tool.bumpver]
current_version = "1.1.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "👍 bump version {old_version} -> {new_version}"
commit = true
push = true
tag = true
[tool.bumpver.file_patterns]
"pyproject.toml" = ['version = "{version}"']
"src/dmarc_report/__init__.py" = ['^__version__ = "{version}"$']