Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (98 loc) · 2.67 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (98 loc) · 2.67 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
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "triggerdev"
dynamic = ["version"]
description = "The first fully typed Python SDK for the Trigger.dev management API"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [{ name = "Mehmet Karaoglu", email = "mehmetkaraoglu2022@gmail.com" }]
keywords = ["triggerdev", "trigger.dev", "sdk", "api", "background-jobs"]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
"Operating System :: OS Independent",
]
dependencies = [
"httpx2>=2.0.0,<3",
"pydantic>=2.7.0,<3",
]
[project.urls]
Homepage = "https://github.com/mehmetkr/triggerdev-python"
Repository = "https://github.com/mehmetkr/triggerdev-python"
Issues = "https://github.com/mehmetkr/triggerdev-python/issues"
Changelog = "https://github.com/mehmetkr/triggerdev-python/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=6.0",
"hypothesis>=6.100",
"mypy>=1.11",
"pyright>=1.1.380",
"ruff>=0.7",
"respx>=0.21",
]
[tool.hatch.version]
path = "src/triggerdev/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/triggerdev"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
"/scripts",
"/spec",
"/tests",
"/.gitattributes",
"/.gitignore",
"uv.lock",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"RUF", # ruff-specific
"ANN", # flake8-annotations
"C4", # flake8-comprehensions
"PTH", # flake8-use-pathlib
"RET", # flake8-return
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["ANN"]
"src/triggerdev/types/**/*.py" = ["TCH"]
[tool.mypy]
strict = true
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "strict"
include = ["src"]
[tool.pytest.ini_options]
addopts = "-p tests._alias_httpx"
pythonpath = ["."]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
xfail_strict = true
filterwarnings = ["error"]