forked from meilisearch/meilisearch-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (112 loc) · 2.72 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (112 loc) · 2.72 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[project]
name = "meilisearch"
description = "The python client for Meilisearch API."
authors = [{ name = "Clémentine", email = "clementine@meilisearch.com" }]
requires-python = ">=3.9"
license = { text = "MIT" }
keywords = [
"search",
"python",
"meilisearch",
]
classifiers = [
"Programming Language :: Python :: 3",
"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 = [
"requests",
"camel-converter[pydantic]",
]
dynamic = ["version"]
[project.urls]
Meilisearch_Documentation = "https://www.meilisearch.com/docs"
Documentation = "https://meilisearch.github.io/meilisearch-python/"
Homepage = "https://github.com/meilisearch/meilisearch-python"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"tomli ; python_version < '3.11'",
]
test = [
"pytest>=8.4.2",
"pytest-cov>=7.1.0",
"tox>=4.30.3",
]
lint = [
"mypy>=1.19.1",
"pylint>=v3.3.9",
"ruff>=0.15.17",
"isort>=6.1.0",
"types-requests",
]
docs = [
"sphinx>=7.4.7",
"sphinx-rtd-theme>=3.1.0",
]
[tool.uv]
fork-strategy = "fewest"
default-groups = [ "dev", "test", "lint"]
[tool.setuptools.dynamic]
version = {attr = "meilisearch.version.__version__"}
[tool.setuptools.packages.find]
include = ["meilisearch*"]
exclude = ["docs*", "tests*"]
[tool.setuptools.package-data]
meilisearch = ["py.typed"]
[tool.ruff]
line-length = 100
[tool.isort]
profile = "black"
line_length = 100
src_paths = ["meilisearch", "tests"]
[tool.mypy]
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
[tool.pylint.MASTER]
load-plugins = [
'pylint.extensions.bad_builtin',
]
[tool.pylint.'DEPRECATED_BUILTINS']
bad-functions=[
"map",
"filter",
"input"
]
[tool.pylint.'BASIC']
const-rgx = "(([A-Z_][A-Z0-9_]*)|(__.*__))$"
attr-rgx = "[a-z_][a-z0-9_]{2,}$"
module-rgx = "(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$"
method-rgx = "[a-z_][a-z0-9_]{2,}$"
[tool.pylint.'DESIGN']
max-args = 10
max-public-methods = 25
[tool.pylint.'FORMAT']
max-module-lines=2000
[tool.pylint.'MESSAGES CONTROL']
disable=[
"attribute-defined-outside-init",
"duplicate-code",
"missing-docstring",
"too-few-public-methods",
"line-too-long",
"too-many-positional-arguments",
]
enable=[
"use-symbolic-message-instead",
"fixme",
]
[tool.pylint.'REPORTS']
reports=false
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=meilisearch --cov-report term-missing"