[tool.poetry]
name = "pytest-csv-params"
version = "1.1.0"
description = "Pytest plugin for Test Case Parametrization with CSV files"
authors = ["Juergen Edelbluth <csv_params@jued.de>"]
license = "MIT"
repository = "https://git.codebau.dev/pytest-plugins/pytest-csv-params"
homepage = "https://git.codebau.dev/pytest-plugins/pytest-csv-params"
readme = "README.md"
keywords = [
    "py.test", "pytest", "csv", "params", "parametrize", "pytest-plugin", "ddt", "data-driven"
]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Plugins",
    "Environment :: Console",
    "Framework :: Pytest",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Topic :: Software Development :: Testing",
    "Topic :: Software Development :: Quality Assurance",
    "Operating System :: POSIX",
    "Operating System :: Microsoft :: Windows",
    "Operating System :: MacOS :: MacOS X",
    "Topic :: Utilities",
]
packages = [
    { include = "_ptcsvp" },
    { include = "pytest_csv_params" },
]

[tool.poetry.urls]
"Issue Tracker" = "https://git.codebau.dev/pytest-plugins/pytest-csv-params/issues"
"Wiki" = "https://git.codebau.dev/pytest-plugins/pytest-csv-params/wiki"
"Releases" = "https://git.codebau.dev/pytest-plugins/pytest-csv-params/releases"
"Documentation" = "https://docs.codebau.dev/pytest-plugins/pytest-csv-params/"
"Changelog" = "https://docs.codebau.dev/pytest-plugins/pytest-csv-params/pages/changelog.html"

[tool.poetry.plugins."pytest11"]
"pytest-csv-params" = "pytest_csv_params.plugin"


[tool.pytest.ini_options]
addopts = "--mypy --black --isort --pylint --pylint-rcfile=.pylintrc --cov --cov-report=term-missing --cov-report=xml --junitxml=test-reports/pytest_csv_params.xml"
filterwarnings=[
    "ignore:.*BlackItem.*:_pytest.warning_types.PytestDeprecationWarning",
    "ignore:.*BlackItem.*:_pytest.warning_types.PytestRemovedIn8Warning",
    "ignore:.*PyLintFile.*:_pytest.warning_types.PytestRemovedIn8Warning",
    "ignore:.*BlackItem.*:_pytest.warning_types.PytestWarning",
    "ignore:Using the __implements__ inheritance pattern for BaseReporter is no longer supported. Child classes should only inherit BaseReporter",
    "ignore:.*zipimport.*",
    "ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release",
]
junit_family = "xunit2"
junit_logging = "all"
junit_log_passing_tests = true
junit_duration_report = "call"
junit_suite_name = "pytest-csv-params"

bandit_targets = [
    "pytest_csv_params",
    "_ptcsvp",
]
bandit_recurse = "True"

[tool.coverage]

[tool.coverage.run]
omit = [
    "test/*",
    "tests/*",
    "*/venv/*",
    "*/.venv/*",
    "*/.tox/*",
    "*/pyvenv/*",
    "*/JetBrains/*",
    "*/virtualenv/*",
    "/etc/python*",
    "*pip-standalone-pip*",
    "*pip-build-env*",
    "*/test_plugin_test_multiplication.py",
    "*/test_plugin_test_error.py",
    "*/test_base_dir_param.py",
    "*/test_plugin_test_text_shorthand.py",
    "*/test_plugin_test_all_one.py",
    "*/test_plugin_test_all_two.py",
    "*/test_plugin_test_all_three.py",
]
relative_files = true

[tool.coverage.report]
exclude_lines = [
    "pragma: no cover",
    "def __repr__",
    "if self\\.debug",
    "raise AssertionError",
    "raise NotImplementedError",
    "if __name__ == .__main__.:",
]

[tool.mypy]
python_version = "3.8"
strict = true
ignore_missing_imports = true

[tool.tox]
legacy_tox_ini = """
[tox]
minversion = 3.25.0
envlist = clean,py38,py39,py310,py311
isolated_build = True

[testenv]
commands =
    pytest --cov-append

[testenv:clean]
skip_install = true
commands =
    coverage erase
"""

[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'

[tool.isort]
line_length = 120
include_trailing_comma = true
multi_line_output = 3

[tool.poetry.dependencies]
python = "^3.8"
pytest = "^7.4.0"

[tool.poetry.dev-dependencies]
tox = "^3.25.1"
tox-poetry = "^0.4.1"
pytest-black = "^0.3.12"
pytest-isort = "^3.0.0"
pytest-cov = "^4.1.0"
pytest-pylint = "^0.18.0"
pytest-mock = "^3.8.2"
pytest-clarity = "^1.0.1"
pytest-bandit = "^0.6.1"
pytest-mypy = "^0.9.1"
pytest-order = "^1.0.1"
Sphinx = "^5.1.1"
myst-parser = "^0.18.0"
sphinx-material = "^0.0.35"
sphinx-autodoc-typehints = "^1.19.2"
livereload = "^2.6.3"
tomli = "^2.0.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
