mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-28 07:29:06 +00:00
* move custom linter to its own package * install the custom linter * fix formatting * drop python 3.7
61 lines
1.5 KiB
TOML
61 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "haystack-linter"
|
|
description = ''
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = "Apache-2.0"
|
|
keywords = []
|
|
authors = [
|
|
{ name = "deepset.ai", email = "info@deepset.ai" },
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Programming Language :: Python",
|
|
"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.urls]
|
|
Documentation = "https://github.com/unknown/haystack-linter#readme"
|
|
Issues = "https://github.com/unknown/haystack-linter/issues"
|
|
Source = "https://github.com/unknown/haystack-linter"
|
|
|
|
[tool.hatch.version]
|
|
path = "haystack_linter/__about__.py"
|
|
|
|
[tool.hatch.envs.default]
|
|
dependencies = [
|
|
"pytest",
|
|
"pytest-cov",
|
|
]
|
|
[tool.hatch.envs.default.scripts]
|
|
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=haystack_linter --cov=tests {args}"
|
|
no-cov = "cov --no-cov {args}"
|
|
|
|
[[tool.hatch.envs.test.matrix]]
|
|
python = ["38", "39", "310", "311"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
parallel = true
|
|
omit = [
|
|
"haystack_linter/__about__.py",
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"no cov",
|
|
"if __name__ == .__main__.:",
|
|
"if TYPE_CHECKING:",
|
|
]
|