-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
109 lines (95 loc) · 2.57 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
[build-system]
requires = [
"setuptools >= 64",
"setuptools_scm >= 6.4"
]
build-backend = "setuptools.build_meta"
[project]
name = "smtpproto"
description = "Sans-io SMTP client with an AnyIO based async I/O implementation"
readme = "README.rst"
authors = [{name = "Alex Grönholm", email = "[email protected]"}]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
"Framework :: AnyIO",
"Topic :: Communications :: Email",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
]
requires-python = ">= 3.8"
dependencies = [ "anyio ~= 4.4" ]
dynamic = [ "version" ]
[project.urls]
Documentation = "https://smtpproto.readthedocs.io/en/latest/"
"Source code" = "https://github.com/agronholm/smtpproto"
"Issue tracker" = "https://github.com/agronholm/smtpproto/issues"
[project.optional-dependencies]
test = [
"anyio[trio] >= 3.0",
"aiosmtpd >= 1.4.4",
"coverage >= 7",
"pytest >= 6.0",
"trustme",
]
doc = [
"packaging",
"sphinx_rtd_theme >= 1.3.0",
"sphinx-autodoc-typehints >= 1.2.0",
]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
[tool.ruff.lint]
extend-select = [
"B0", # flake8-bugbear
"G", # flake8-logging-format
"I", # isort
"ISC", # flake8-implicit-str-concat
"PGH", # pygrep-hooks
"RUF100", # unused noqa (yesqa)
"UP", # pyupgrade
"W", # pycodestyle warnings
]
[tool.mypy]
python_version = "3.8"
strict = true
[tool.pytest.ini_options]
addopts = "-rsx --tb=short"
testpaths = "tests"
filterwarnings = "always"
[tool.coverage.run]
source = ["smtpproto"]
[tool.coverage.report]
show_missing = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = lint, py38, py39, py310, py311, py312, pypy3
skip_missing_interpreters = true
minversion = 4.0
[testenv]
depends = pre-commit
package = editable
commands = pytest {posargs}
extras = test
[testenv:pre-commit]
depends =
package = skip
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:pyright]
deps = pyright
commands = pyright --verifytypes smtpproto
[testenv:docs]
extras = doc
commands = sphinx-build -W -n docs build/sphinx
"""