-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (90 loc) · 2.58 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (90 loc) · 2.58 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
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
[project]
name = "notifly-sdk"
version = "0.1.0"
description = "Official Python SDK for the Notifly API — open-source, self-hostable notification infrastructure."
authors = [{ name = "Devino Solutions Inc.", email = "support@notifly.io" }]
requires-python = ">=3.11"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
keywords = [
"notifly",
"notifications",
"push",
"email",
"sms",
"in-app",
"inbox",
"novu",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.23.1,<0.29.0",
"attrs>=22.2.0",
]
[project.urls]
Homepage = "https://notifly.io"
Repository = "https://github.com/DevinoSolutions/notifly-python"
Issues = "https://github.com/DevinoSolutions/notifly-python/issues"
[dependency-groups]
dev = [
"pytest>=8.3",
"pytest-asyncio>=1.0",
"respx>=0.22",
"ruff==0.16.0",
"mypy>=1.14",
]
[tool.uv.build-backend]
module-name = "notifly_py"
module-root = ""
[build-system]
requires = ["uv_build>=0.11.0,<0.12.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["F", "I", "UP"]
# UP042 (StrEnum) is violated by openapi-python-client's generated enums; a fix
# would be overwritten on every regeneration, so it stays ignored.
ignore = ["UP042"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q --strict-markers"
asyncio_mode = "auto"
markers = [
"e2e: live tests against the real API; require NOTIFLY_SECRET_KEY and are skipped otherwise",
]
# Type checking covers the hand-written layer only. The generated packages
# (notifly_py/api/**, notifly_py/models/**, notifly_py/client.py) are excluded: they are
# overwritten by scripts/regenerate.sh and are not ours to fix.
[tool.mypy]
python_version = "3.11"
strict = true
files = [
"notifly_py/__init__.py",
"notifly_py/_envelope.py",
"notifly_py/_transport.py",
"notifly_py/_version.py",
"notifly_py/exceptions.py",
"notifly_py/facade.py",
"notifly_py/internal_ops.py",
"notifly_py/notifly_client.py",
"notifly_py/pagination.py",
"scripts/check_drift.py",
]
follow_imports = "silent"
disallow_any_explicit = false
warn_return_any = false
[[tool.mypy.overrides]]
module = ["notifly_py.api.*", "notifly_py.models.*", "notifly_py.client", "notifly_py.types"]
ignore_errors = true