Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (57 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (57 loc) · 1.55 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"]
build-backend = "hatchling.build"
[project]
name = "groundcover-sdk"
dynamic = ["version"]
description = "Official Python SDK for the groundcover API"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9"
dependencies = [
"httpx>=0.25.0,<1.0",
"attrs>=23.0",
"tenacity>=8.0,<10.0",
"pyyaml>=6.0,<7.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-cov>=4.0",
"pytest-xdist>=3.0",
"ruff>=0.15,<1.0",
"mypy>=1.5",
"respx>=0.20",
]
[tool.hatch.version]
path = "src/groundcover/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/groundcover"]
[tool.ruff]
target-version = "py39"
line-length = 120
exclude = [
"src/groundcover/api/",
"src/groundcover/models/",
"src/groundcover/_generated_types.py",
"src/groundcover/_generated_errors.py",
"src/groundcover/_generated_client.py",
]
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.isort]
known-first-party = ["groundcover"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
# The e2e janitor (tools/gc_e2e_janitor) is deliberately not part of the shipped
# package -- it must not import groundcover, whose generated modules are
# gitignored -- so it needs to be importable without being installed.
pythonpath = ["tools"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
exclude = ["src/groundcover/api/", "src/groundcover/models/", "src/groundcover/_generated_"]