-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
91 lines (77 loc) · 2.43 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/inline"]
[project]
name = "pytest-inline"
dynamic = ["version"]
description = "A pytest plugin for writing inline tests"
readme = "README.md"
requires-python = ">=3.7"
license = { file = "LICENSE" }
authors = [{ name = "Yu Liu", email = "[email protected]" }]
maintainers = [
{ name = "Yu Liu", email = "[email protected]" },
{ name = "Pengyu Nie", email = "[email protected]" },
{ name = "Zachary William Thurston", email = "[email protected]" },
{ name = "Alan Han", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
]
dependencies = ["pytest>=7.0,<9.0"]
[project.optional-dependencies]
dev = ["hatch", "coverage[toml]", "black", "ruff", "tox", "tox-gh"]
[project.urls]
Issues = "https://github.com/pytest-dev/pytest-inline/issues"
Source = "https://github.com/pytest-dev/pytest-inline"
[project.entry-points.pytest11]
inline = "inline.plugin"
[tool.hatch.version]
path = "src/inline/__about__.py"
# testing (pytest)
[tool.pytest.ini_options]
addopts = "-p pytester"
testpaths = ["tests"]
# code coverage (coverage)
[tool.coverage.run]
source_pkgs = ["inline", "tests"]
branch = true
parallel = true
omit = ["src/inline/__about__.py"]
[tool.coverage.paths]
inline = ["src/inline", "*/inline/src/inline"]
tests = ["tests", "*/inline/tests"]
[tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]
# formatting (black)
[tool.black]
target-version = ["py38"]
line-length = 120
# linting (ruff)
[tool.ruff]
target-version = "py38"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
]
[tool.ruff.lint.isort]
known-first-party = ["inline"]