|
| 1 | +[build-system] |
| 2 | +build-backend = "hatchling.build" |
| 3 | +requires = ["hatchling>=1.11", "hatch-vcs>=0.2"] |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "pytest-env" |
| 7 | +description = "py.test plugin that allows you to add environment variables." |
| 8 | +readme = "README.md" |
| 9 | +license.file = "LICENSE" |
| 10 | +maintainers = [{ name = "Bernát Gábor", email = "[email protected]" }] |
| 11 | +urls.Documentation = "https://bump-deps-index.readthedocs.io" |
| 12 | +urls.Homepage = "https://github.com/pytest-dev/pytest-env" |
| 13 | +urls.Source = "https://github.com/pytest-dev/pytest-env" |
| 14 | +urls.Tracker = "https://github.com/pytest-dev/pytest-env/issues" |
| 15 | +requires-python = ">=3.7" |
| 16 | +dependencies = ["pytest>=7.1.3"] |
| 17 | +optional-dependencies.test = ["coverage>=6.5", "pytest-mock>=3.10", "covdefaults>=2.2"] |
| 18 | +keywords = ["pytest", "env"] |
| 19 | +classifiers = [ |
| 20 | + "Development Status :: 5 - Production/Stable", |
| 21 | + "Intended Audience :: Developers", |
| 22 | + "License :: OSI Approved :: MIT License", |
| 23 | + "Operating System :: OS Independent", |
| 24 | + "Programming Language :: Python", |
| 25 | + "Programming Language :: Python :: 3", |
| 26 | + "Programming Language :: Python :: 3 :: Only", |
| 27 | + "Programming Language :: Python :: Implementation :: CPython", |
| 28 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 29 | +] |
| 30 | +dynamic = ["version"] |
| 31 | + |
| 32 | +[project.entry-points.pytest11] |
| 33 | +env = "pytest_env.plugin" |
| 34 | + |
| 35 | +[tool.hatch] |
| 36 | +build.hooks.vcs.version-file = "src/pytest_env/version.py" |
| 37 | +version.source = "vcs" |
| 38 | + |
| 39 | +[tool.black] |
| 40 | +line-length = 120 |
| 41 | + |
| 42 | +[tool.coverage] |
| 43 | +source = ["${_COVERAGE_SRC}", "${_COVERAGE_TEST}"] |
| 44 | +run.dynamic_context = "test_function" |
| 45 | +run.plugins = ["covdefaults"] |
| 46 | +run.parallel = true |
| 47 | +report.fail_under = 100 |
| 48 | +html.show_contexts = true |
| 49 | +html.skip_covered = false |
| 50 | +paths.source = [ |
| 51 | + "src", |
| 52 | + ".tox*/*/lib/python*/site-packages", |
| 53 | + ".tox*/pypy*/site-packages", |
| 54 | + ".tox*\\*\\Lib\\site-packages", |
| 55 | + "*/src", |
| 56 | + "*\\src", |
| 57 | +] |
| 58 | + |
| 59 | +[tool.mypy] |
| 60 | +python_version = "3.10" |
| 61 | +show_error_codes = true |
| 62 | +strict = true |
| 63 | + |
| 64 | +[tool.isort] |
| 65 | +profile = "black" |
| 66 | +known_first_party = ["pytest_env"] |
0 commit comments