-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
94 lines (86 loc) · 2 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
[tool.poetry]
name = "pyspock"
version = "0.3.0"
description = "Python implementation for spock framework"
authors = ["ZhengYu, Xu <zen-xu@outlook.com>"]
license = "MIT"
readme = "README.md"
keywords = ["test", "unittest", "spock", "bdd"]
packages = [
{ include = "spock", from = "src" },
{ include = "_spock", from = "src" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: BDD",
"Topic :: Utilities"
]
[tool.poetry.dependencies]
python = "^3.7"
pytest = "^6.2.4"
[tool.poetry.dev-dependencies]
pytest-cov = "^2.12.1"
pytest-sugar = "^0.9.4"
commitizen = "^2.17.13"
black = "^21.7b0"
flake8 = "^3.9.2"
isort = "^5.9.3"
mypy = "^0.910"
[tool.poetry.plugins.pytest11]
spock = "_spock.plugin"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
force_single_line = true
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
use_parentheses = true
src_paths = ["tests"]
filter_files = true
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/.*/setup.py
)/
'''
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if LESS_PY38:",
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.3.0"
version_files = [
"pyproject.toml:version",
"src/_spock/__init__.py",
"tests/test_version.py",
]