allure-validator/pyproject.toml
Kirill Sosnovskikh d050a94272 Fix determination of fixture parameters
- Added ability to pass any parameters to `params` keyword in `pytest.fixture`, except:
  1) `params=<callable object>`, but `params=[<callable object>, ...]` is allowed
  2) `params=[*<any collection>]`

- Analysis of `pytest_generate_tests` is almost equivalent to regular fixtures, except:
  1) `metafunc.parametrize(*<any collection>, **<any dict>)`
  2) `metafunc.parametrize("any", <callable object>)`
  3) `metafunc.parametrize("any1, any2", [(<callable object>, [*<any collection>])]`

Signed-off-by: Kirill Sosnovskikh <k.sosnovskikh@yadro.com>
2024-11-15 16:08:24 +03:00

42 lines
1 KiB
TOML

[build-system]
requires = ["setuptools>=65.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "allure-validator"
version = "1.1.1"
description = "Linter for allure.title validation"
readme = "README.md"
authors = [{ name = "YADRO", email = "info@yadro.com" }]
license = { text = "GNU General Public License v3 (GPLv3)" }
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["test", "allure"]
dependencies = [
"allure-pytest>=2.13.2",
"allure-python-commons>=2.13.2",
"pytest>=7.1.2",
"pytest-lazy-fixture>=0.6.3"
]
requires-python = ">=3.10"
[project.optional-dependencies]
dev = ["black", "pylint", "isort", "pre-commit"]
[project.scripts]
allure-validator = "allure_validator.main:main"
[project.urls]
Homepage = "https://git.frostfs.info/Kiriruso/allure-validator/"
[tool.isort]
profile = "black"
src_paths = ["src"]
line_length = 140
[tool.black]
line-length = 140
target-version = ["py310"]