-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
97 lines (84 loc) · 2.51 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
[tool.poetry]
name = "mailers"
version = "3.2.0"
description = "Email delivery for asyncio."
authors = ["alex.oleshkevich <alex.oleshkevich@gmail.com>"]
license = "MIT"
readme = 'README.md'
homepage = '/~https://github.com/alex-oleshkevich/mailers'
repository = '/~https://github.com/alex-oleshkevich/mailers.git'
documentation = "/~https://github.com/alex-oleshkevich/mailers"
keywords = ['asyncio', 'email', 'mailer', 'mail']
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.8"
aiosmtplib = { version = "^3.0", optional = true }
dkimpy = { version = "^1.0", optional = true }
anyio = ">=3.7.1,<5"
jinja2 = { version = "^3.0", optional = true }
css_inline = { version = ">=0.14", optional = true }
[tool.poetry.group.dev.dependencies]
pytest-asyncio = "*"
aiosmtpd = "^1.4"
pytest-sugar = "*"
pytest-cov = "*"
mypy = "*"
dkimpy = "^1"
jinja2 = "^3"
aiosmtplib = "*"
pytest = "^8.0"
css_inline =">=0.14"
# required in case a parent directory overrides these options
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
[tool.poetry.extras]
jinja2 = ["jinja2"]
smtp = ["aiosmtplib"]
dkim = ["dkimpy"]
css_inline = ["css_inline"]
[tool.poetry.plugins.pytest11]
mailers = "mailers.pytest_plugin"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source = ["mailers"]
omit = ["tests/*", ".venv/*", "*/__main__.py", "examples/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if typing.TYPE_CHECKING:",
]
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
files = ["mailers", "tests"]
exclude = "/*venv/"
pretty = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
[tool.ruff]
exclude = [".egg", ".git", ".hg", ".mypy_cache", ".nox", ".tox", ".venv"]
line-length = 120
indent-width = 4
[tool.ruff.lint]
fixable = ["ALL"]
[tool.ruff.format]
skip-magic-trailing-comma = false