-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
132 lines (115 loc) · 2.72 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[project]
name = "mailpit-api-client"
version = "1.0.0"
description = "A Mailpit API Client"
authors = [{name = "Lars Liedtke", email = "corvan@gmx.de"}]
requires-python = ">=3.8"
readme = "README.rst"
license = {file = "LICENSE"}
classifiers = [
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Email",
"Topic :: Communications :: Email :: Mail Transport Agents",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
dependencies = [
"dataclasses_json",
"httpx",
"ruff",
"invoke >= 2.0.0",
"logging518 >= 1.0.0",
]
[project.optional-dependencies]
docs = [
"Sphinx",
]
test = [
"black",
"mypy>=1.1.1",
"pylint",
"respx",
]
pytest = [
"mailpit-api-client[test]",
"pytest>=7",
]
build = [
"build",
"twine",
]
[project.urls]
Repository = "https://github.com/Corvan/mailpit-api-client"
Documentation = "https://corvan.github.io/mailpit-api-client/"
[tool.poetry]
name = "mailpit-api-client"
version = "1.0.0"
description = ""
authors = ["Lars Liedtke <lars@familie-liedtke.net>"]
[tool.poetry.dependencies]
python = "^3.10"
dataclasses_json = "*"
httpx = "*"
ruff = "^0"
invoke = "^2.2.0"
logging518 = "^1.0.0"
pytest = "^7.3.1"
pytest-docker = "^2.0.0"
[tool.poetry.group.docs.dependencies]
sphinx = "*"
[tool.poetry.group.test.dependencies]
black = "*"
mypy = "^1.4.1"
pylint = "*"
respx = "*"
[tool.poetry.group.pytest.dependencies]
black = "*"
mypy = "^1.4.1"
pylint = "*"
respx = "*"
pytest = "^7"
[tool.poetry.group.build.dependencies]
build = "*"
twine = "*"
[tool.invoke.test]
python_versions = [
"3.9",
"3.10",
"3.11",
"3.12-rc"
]
debian_codenames = [
"bullseye",
"bookworm"
]
checkers = [
"black",
"lint",
"mypy"
]
[tool.logging]
version = 1
[tool.logging.formatters.formatter]
class = "logging.Formatter"
format = "%(asctime)s - %(levelname)s - %(pathname)s - line: %(lineno)s - %(funcName)s() - %(message)s"
[tool.logging.handlers.ch]
level = "DEBUG"
class = "logging.StreamHandler"
formatter = "formatter"
[tool.logging.loggers.test_runner]
level = "DEBUG"
handlers = ["ch"]
[tool.logging.loggers.test_runner.auxiliary]
propagate = false
[tool.pytest.ini_options]
log_cli = "true"
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s - %(levelname)s - %(pathname)s - line: %(lineno)s - %(funcName)s() - %(message)s"