Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (65 loc) · 1.62 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
70
71
72
73
74
75
[project]
name = "chora"
description = "Deploy a mock server for use in testing."
dynamic = ["readme"]
version = "0.2.0"
requires-python = ">=3.13"
license = {text = "MIT"}
authors = [
{name = "pbhandari", email = "pbhandari@pbhandari.ca"}
]
keywords = ["server", "mock", ]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.13",
"Typing :: Typed"
]
dependencies = []
[project.scripts]
chora = "chora:main"
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"twine",
"pip-tools",
"pytest",
"pytest-sugar",
"pytest-cov",
]
[project.urls]
Homepage = "https://github.com/pbhandari/chora"
Releases = "https://github.com/pbhandari/chora/releases"
Issues = "https://github.com/pbhandari/chora/issues"
[tool.setuptools.dynamic]
readme = {file = ["README.md", ], content-type = "text/markdown"}
[tool.setuptools.package-data]
chora = ["py.typed"]
[tool.chora]
# Default configuration for chora server
root = "./example"
port = 8000
host = "localhost"
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.coverage.run]
source = ["src", "test"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.poetry]
package-mode = false