/
pyproject.toml
77 lines (62 loc) · 1.83 KB
/
pyproject.toml
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
76
77
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "pytest-call-checker"
version = "0.0.0"
description = "Small pytest utility to easily create test doubles"
authors = ["Joachim Jablon <ewjoachim@gmail.com>"]
license = "MIT License"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
]
keywords = ["pytest"]
repository = "https://github.com/ewjoachim/pytest-call-checker"
packages = [{include = "pytest_call_checker"}]
[tool.poetry.plugins."pytest11"]
pytest_call_checker = "pytest_call_checker"
[tool.poetry.dependencies]
python = "^3.7"
pytest = "^7.1.3"
[tool.poetry.group.lint.dependencies]
black = "^22.10.0"
isort = "^5.10.1"
[tool.poetry.group.tests.dependencies]
pytest-cov = "^4.0.0"
[tool.poetry.group.example.dependencies]
httpx = "^0.23.0"
[tool.poetry-dynamic-versioning]
enable = true
pattern = '(?P<base>\d+\.\d+\.\d+)'
[tool.isort]
profile = "black"
known_first_party = "pytest_call_checker"
add_imports = "__future__.annotations"
[tool.doc8]
max-line-length = 88
ignore-path = "docs/_build"
[tool.pytest.ini_options]
addopts = """
--cov-report term-missing --cov-branch --cov-report html --cov-report term
--cov=pytest_call_checker -vv --strict-markers -rfE
"""
testpaths = ["tests"]
[tool.mypy]
no_implicit_optional = true
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
"coverage: exclude",
"if TYPE_CHECKING:",
"^ +\\.\\.\\.$",
]