-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (47 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
54 lines (47 loc) · 1.08 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "instantly-python-sdk"
version = "0.1.5"
description = "Python SDK for the Instantly.ai API"
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
dependencies = [
"pydantic>=2.0.0",
"httpx>=0.24.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"isort>=5.0.0",
"mypy>=1.0.0",
]
[tool.hatch.build.targets.wheel]
packages = ["instantly"]
[tool.black]
line-length = 100
target-version = ["py38"]
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
markers = [
"integration: marks tests that require the mock API server",
"unit: marks tests that don't require external services",
]