-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (59 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
69 lines (59 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
66
67
68
69
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[project]
name = "mocktopus"
version = "0.2.0"
description = "🐙 Multi-armed mocks for LLM apps - Drop-in replacement for OpenAI/Anthropic APIs for deterministic testing"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [{name = "Jonathan Haas"}]
dependencies = [
"PyYAML>=6.0",
"click>=8.1",
"typing-extensions>=4.9",
"aiohttp>=3.8.0",
]
[project.urls]
Homepage = "https://github.com/evalops/mocktopus"
[project.scripts]
mocktopus = "mocktopus.cli:main"
[project.entry-points.pytest11]
mocktopus = "mocktopus.pytest_plugin"
[tool.hatch.build.targets.wheel]
packages = ["src/mocktopus"]
[tool.ruff]
line-length = 100
target-version = "py39"
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
]
dev = [
"mypy>=1.0",
"types-PyYAML",
"pytest>=7.0",
"pytest-asyncio>=0.21",
]
[tool.pytest.ini_options]
addopts = "-q"
asyncio_mode = "auto"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = false
strict_equality = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false