Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (56 loc) · 1.64 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
[build-system]
requires = ["hatchling>=1.25.0"]
build-backend = "hatchling.build"
[project]
name = "indream-client"
version = "1.1.0"
description = "Official Python client for Indream Open API"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Indream" }]
dependencies = [
"httpx>=0.27.0,<1.0.0",
"pydantic>=2.9.0,<3.0.0",
"jsonschema[format]>=4.23.0,<5.0.0",
"typing-extensions>=4.12.0,<5.0.0"
]
[project.urls]
Homepage = "https://github.com/indreamai/indream-client-python"
Repository = "https://github.com/indreamai/indream-client-python"
Issues = "https://github.com/indreamai/indream-client-python/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.3.0,<9.0.0",
"ruff>=0.8.0,<0.10.0",
"mypy>=1.13.0,<2.0.0",
"build>=1.2.0,<2.0.0",
"twine>=6.0.0,<7.0.0"
]
[tool.hatch.build]
exclude = ["**/misc/**", "**/misc", "/tmp", "/.venv"]
[tool.hatch.build.targets.sdist]
core-metadata-version = "2.4"
include = ["/src/indream", "/tests", "/README.md", "/CHANGELOG.md", "/LICENSE", "/pyproject.toml", "/openapi"]
[tool.hatch.build.targets.wheel]
core-metadata-version = "2.4"
packages = ["src/indream"]
include = ["src/indream/schemas/*.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = ["misc"]
addopts = "--basetemp=tmp/pytest -o cache_dir=tmp/pytest-cache"
[tool.ruff]
line-length = 100
target-version = "py310"
extend-exclude = ["misc"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.10"
exclude = "(^|/)misc/"
cache_dir = "tmp/mypy-cache"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
strict_optional = true