pytest-bdd/pyproject.toml

98 lines
2.6 KiB
TOML
Raw Normal View History

2022-07-08 21:56:47 +08:00
[tool.poetry]
name = "pytest-bdd"
2022-11-09 01:01:16 +08:00
version = "6.1.1"
2022-07-08 21:56:47 +08:00
description = "BDD for pytest"
authors = ["Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>", "Anatoly Bubenkov <bubenkoff@gmail.com>"]
maintainers = ["Alessio Bogon <778703+youtux@users.noreply.github.com>"]
license = "MIT"
readme = "README.rst"
homepage = "https://pytest-bdd.readthedocs.io/"
documentation = "https://pytest-bdd.readthedocs.io/"
repository = "https://github.com/pytest-dev/pytest-bdd"
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.plugins."pytest11"]
"pytest-bdd" = "pytest_bdd.plugin"
[tool.poetry.scripts]
"pytest-bdd" = "pytest_bdd.scripts:main"
[tool.poetry.dependencies]
python = "^3.7"
Mako = "*"
parse = "*"
parse-type = "*"
2022-07-26 06:07:46 +08:00
pytest = ">=6.2.0"
2022-07-10 21:49:33 +08:00
typing-extensions = "*"
2022-07-08 21:56:47 +08:00
[tool.poetry.group.dev.dependencies]
2023-01-03 18:29:42 +08:00
tox = "^4.1.3"
2022-11-05 17:15:20 +08:00
mypy = "^0.982"
types-setuptools = "^65.5.0.2"
pytest-xdist = "^3.0.2"
coverage = {extras = ["toml"], version = "^6.5.0"}
Pygments = "^2.13.0" # for code-block highlighting
2022-07-08 21:56:47 +08:00
[build-system]
2022-07-08 21:56:47 +08:00
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
2022-11-05 17:07:57 +08:00
target-version = ["py37", "py38", "py39", "py310", "py311"]
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
2022-07-28 01:51:25 +08:00
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"if typing\\.TYPE_CHECKING:",
]
[tool.coverage.html]
show_contexts = true
2022-07-28 01:51:25 +08:00
[tool.coverage.run]
branch = true
# `parallel` will cause each tox env to put data into a different file, so that we can combine them later
parallel = true
source = ["pytest_bdd", "tests"]
dynamic_context = "test_function"
2022-07-28 01:51:25 +08:00
[tool.coverage.paths]
# treat these directories as the same when combining
# the first item is going to be the canonical dir
source = [
"src/pytest_bdd",
".tox/*/lib/python*/site-packages/pytest_bdd",
]
2022-07-28 01:51:25 +08:00
[tool.mypy]
2022-02-24 23:52:23 +08:00
python_version = "3.7"
warn_return_any = true
warn_unused_configs = true
2022-08-14 16:36:52 +08:00
files = "src/pytest_bdd/**/*.py"
[[tool.mypy.overrides]]
module = ["parse", "parse_type"]
ignore_missing_imports = true