-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (90 loc) · 2.63 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "chainmock"
version = "0.11.0"
description = "Mocking library for Python and Pytest"
authors = ["Olli Paakkunainen <[email protected]>"]
license = "MIT"
repository = "https://github.com/ollipa/chainmock"
documentation = "https://chainmock.readthedocs.io"
readme = "README.md"
keywords = ["testing", "mock", "mocking", "pytest"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Mocking",
"Topic :: Software Development :: Testing :: Unit",
"Typing :: Typed",
]
packages = [{ include = "chainmock", from = "src" }]
[tool.poetry.urls]
"Issue Tracker" = "https://github.com/ollipa/chainmock/issues"
[tool.poetry.dependencies]
python = "^3.9"
typing-extensions = { version = ">=3.10.0", python = "<3.10" }
[tool.poetry.group.dev.dependencies]
mypy = "*"
pylint = "*"
isort = "*"
black = "*"
ipython = "*"
pytest-asyncio = "*"
coverage = "*"
tox = "*"
mkdocs-material = "*"
markdown-include = "*"
mkdocstrings = { extras = ["python-legacy"], version = "*" }
pytest = ">= 6.2.0"
[tool.poetry.plugins.pytest11]
chainmock = "chainmock._pytest_plugin"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.MASTER]
load-plugins = [
"pylint.extensions.docparams",
"pylint.extensions.docstyle",
"pylint.extensions.typing",
]
good-names = ["fn", "T", "P"]
[tool.pylint.messages_control]
disable = [
"too-few-public-methods",
"too-many-public-methods",
"too-many-arguments",
"too-many-ancestors",
"duplicate-code",
]
[tool.pylint.format]
max-line-length = "110"
[tool.isort]
line_length = 100
profile = "black"
[tool.black]
line_length = 100
[tool.mypy]
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
check_untyped_defs = true
no_implicit_optional = true
strict_equality = true
[tool.pytest.ini_options]
xfail_strict = true
asyncio_mode = "auto"