-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (46 loc) · 1.27 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
[tool.poetry]
name = "pytest-matchers"
version = "0.3.2"
description = "Matchers for pytest"
license = "MIT"
authors = ["MartinGotelli <[email protected]>"]
readme = "README.md"
packages = [
{ include = "pytest_matchers", from = "src/pytest_matchers" }
]
[tool.poetry.dependencies]
python = "^3.10"
pytest = ">=7.0, <9.0"
pydantic = {version = ">=1.0, <3.0", optional = true}
[tool.poetry.extras]
pydantic = ["pydantic"]
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
pylint = "^3.2.6"
coverage = "^7.6.1"
codespell = "^2.3.0"
vulture = "^2.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project.entry-points.pytest11]
myproject = "pytest_matchers.plugin"
[tool.coverage.run]
branch = true
command_line = "-m pytest src/tests"
[tool.coverage.report]
show_missing = true
exclude_also = ["@abstractmethod", "If"]
[tool.coverage.xml]
output = "coverage.xml"
[tool.vulture]
paths = ["src", "vulture/whitelist.py"]
ignore_decorators = []
ignore_names = ['pytestmark', 'cls', 'return_value', 'side_effect']
sort_by_size = true
[tool.black]
line-length = 100
target-version = ['py311'] # Needs to be single quote, it is a regular expression
[tool.codespell]
skip= "./node_modules,./venv,./env,./htmlcov"
ignore-words-list = "astroid"