-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (56 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
69 lines (56 loc) · 2.07 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
[tool.poetry]
name = "postmark-python"
version = "0.2.4"
description = "The Official Postmark Python SDK."
authors = ["Greg Svoboda <gsvoboda@activecampaign.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "postmark"}]
repository = "https://github.com/ActiveCampaign/postmark-python"
homepage = "https://postmarkapp.com/developer/integration/official-libraries"
documentation = "https://github.com/ActiveCampaign/postmark-python/wiki"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Email",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.urls]
"Issues" = "https://github.com/ActiveCampaign/postmark-python/issues"
[tool.poetry.dependencies]
python = "^3.10"
httpx = "^0.27.0" # Concurrency (async) and HTTP requests
pydantic = "^2.6.0" # Type safety and validation
email-validator = "^2.1.1" # REQUIRED by pydantic.EmailStr for email format validation
tenacity = "^8.2.3" # Resilience and retry logic
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1" # Testing framework
pytest-asyncio = "^1.0.0" # To run async tests with pytest
respx = "^0.21.0" # Mocking HTTP requests for testing
pytest-cov = "^7.0.0" # For coverage reports
mypy = "^1.8.0"
ruff = "^0.9.0"
pre-commit = "^4.0.0"
python-dotenv = "^1.2.2"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "N"]
ignore = ["N818", "E501"] # allow "Exception" suffix on exception classes
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.mypy]
ignore_missing_imports = true
[tool.bandit]
skips = ["B101"] # assert statements are fine in tests
exclude_dirs = ["tests"]
[tool.coverage.report]
omit = ["*/enums.py"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"