hatch-version-action-example/pyproject.toml

92 lines
2.1 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hatch-version-action-example"
description = 'An example project using hatch-version-action'
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
keywords = []
authors = [
{ name = "Waylon S. Walker", email = "waylon@waylonwalker.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = []
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black",
"isort",
"seed-isort-config",
"flake8",
"pytest",
"pytest-cov",
"pytest-mock",
]
[project.urls]
Documentation = "https://github.com/unknown/hatch-version-action-example#readme"
Issues = "https://github.com/unknown/hatch-version-action-example/issues"
Source = "https://github.com/unknown/hatch-version-action-example"
[tool.hatch.version]
path = "hatch_version_action_example/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"black",
"isort",
"seed-isort-config",
"flake8",
"pytest",
"pytest-cov",
"pytest-mock",
]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_version_action_example --cov=tests"
no-cov = "cov --no-cov"
lint = "flake8 hatch_version_action_example"
format = "black --check hatch_version_action_example"
sort-imports = "isort hatch_version_action_example"
test-lint = [
"lint",
"format",
"seed-isort-config",
"sort-imports",
"cov",
]
[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"hatch_version_action_example/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"
known_third_party = []