-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (80 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
94 lines (80 loc) · 1.99 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
[project]
name = "asknews"
version = "0.13.14"
description = "Python SDK for AskNews"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{name = "Emergent Methods", email = "contact@emergentmethods.ai"},
]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: 3.13",
]
license = {text = "MIT"}
dependencies = [
"orjson>=3.9.10",
"httpx>=0.27.2,<0.29.0",
"asgiref>=3.7.2",
"cryptography>=40.0.0,<46.0.6",
"crontab>=1.0.1",
"pydantic[email]>=2.10.4",
]
[project.urls]
repository = "https://github.com/emergentmethods/asknews-python-sdk"
[dependency-groups]
dev = [
"mypy>=1.2.0",
"ruff>=0.8.0",
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"coverage>=7.2.7",
"pre-commit>=3.3.2",
"gitlint>=0.19.1",
"commitizen>=3.25.0",
"respx>=0.22.0",
"polyfactory>=2.20.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["asknews_sdk"]
[tool.mypy]
plugins = "pydantic.mypy"
ignore_missing_imports = "True"
[tool.pytest.ini_options]
addopts = "-s -p no:warnings"
testpaths = [
"tests",
]
asyncio_mode = "auto"
log_cli = "True"
log_auto_indent = "False"
[tool.coverage.run]
source = ["asknews_sdk"]
[tool.coverage.report]
ignore_errors = "true"
[tool.coverage.xml]
output = "coverage.xml"
[tool.ruff]
line-length = 100
exclude = ["tests", "examples"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "C", "B"]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver"
version_provider = "uv"
update_changelog_on_bump = true
bump_message = "chore(release): Release $new_version"