-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
86 lines (76 loc) · 2.01 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pytest-meilisearch"
dynamic = ["version"]
description = "Pytest helpers for testing projects using Meilisearch"
authors = [{name = "Paul Sanders", email = "[email protected]"}]
requires-python = ">=3.9"
license = { file = "LICENSE" }
readme = "README.md"
repository = "https://github.com/sanders41/pytest-meilisearch"
homepage = "https://github.com/sanders41/pytest-meilisearch"
documentation = "https://github.com/sanders41/pytest-meilisearch"
keywords = ["meilisearch", "python", "pytest"]
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"meilisearch-python-sdk>=3.0.0",
"pytest>=7.4.3",
]
[dependency-groups]
dev = [
"mypy[faster-cache]==1.13.0",
"pre-commit==4.0.1",
"pytest-cov==6.0.0",
"ruff==0.7.2",
"pytest-asyncio==0.24.0",
]
[tool.hatch.version]
path = "pytest_meilisearch/_version.py"
[project.entry-points.pytest11]
meilisearch = "pytest_meilisearch.plugin"
[tool.mypy]
check_untyped_defs = true
[[tool.mypy.overrides]]
module = ["tests.*"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=pytest_meilisearch --cov-report term-missing --meilisearch-master-key masterKey --no-cov-on-fail"
asyncio_mode = "auto"
meilisearch_clear = "async_index"
[tool.coverage.report]
exclude_lines = ["if __name__ == .__main__.:", "pragma: no cover"]
[tool.ruff]
line-length = 100
target-version = "py39"
fix = true
[tool.ruff.lint]
select = ["E", "B", "F", "UP", "I001", "T201", "T203"]
ignore=[
# Recommended ignores by ruff when using formatter
"E501",
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]