-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.42 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "threads-python-sdk"
version = "0.1.0"
description = "Async Python SDK for the Meta Threads API"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Inoue AI" },
]
keywords = ["threads", "meta", "api", "sdk", "social-media", "async"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"aiohttp>=3.9.0",
"pydantic>=2.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"aioresponses>=0.7",
"ruff>=0.4",
"mypy>=1.10",
]
[tool.hatch.build.targets.wheel]
packages = ["threads"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM", "TCH"]
[tool.ruff.lint.isort]
known-first-party = ["threads"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["TCH"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]