51 lines
1.1 KiB
TOML
51 lines
1.1 KiB
TOML
|
|
[build-system]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
requires = [
|
||
|
|
"setuptools>=68",
|
||
|
|
"wheel",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "kreuzberg-e2e"
|
||
|
|
version = "0.0.0"
|
||
|
|
description = "End-to-end tests"
|
||
|
|
requires-python = ">=3.10"
|
||
|
|
classifiers = [
|
||
|
|
"Programming Language :: Python :: 3 :: Only",
|
||
|
|
"Programming Language :: Python :: 3.10",
|
||
|
|
"Programming Language :: Python :: 3.11",
|
||
|
|
"Programming Language :: Python :: 3.12",
|
||
|
|
"Programming Language :: Python :: 3.13",
|
||
|
|
"Programming Language :: Python :: 3.14",
|
||
|
|
]
|
||
|
|
dependencies = [
|
||
|
|
"kreuzberg",
|
||
|
|
"pytest>=7.4",
|
||
|
|
"pytest-asyncio>=0.23",
|
||
|
|
"pytest-timeout>=2.1",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.setuptools]
|
||
|
|
packages = []
|
||
|
|
|
||
|
|
[tool.uv]
|
||
|
|
sources.kreuzberg = { path = "../../packages/python" }
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 120
|
||
|
|
lint.ignore = ["PLR2004"]
|
||
|
|
lint.per-file-ignores."tests/**" = [
|
||
|
|
"B017",
|
||
|
|
"PT011",
|
||
|
|
"S101",
|
||
|
|
"S108",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.pytest]
|
||
|
|
ini_options.asyncio_mode = "auto"
|
||
|
|
ini_options.testpaths = ["tests"]
|
||
|
|
ini_options.python_files = "test_*.py"
|
||
|
|
ini_options.python_functions = "test_*"
|
||
|
|
ini_options.addopts = "-v --strict-markers --tb=short"
|
||
|
|
ini_options.timeout = 300
|