-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (53 loc) · 1.03 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "prym"
authors = [
{name = "Richard Shaw", email = "[email protected]"},
]
description = "Convert results of PromQL queries into numpy arrays or pandas dataframes"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = [
"urllib3",
"numpy",
"pandas",
]
dynamic = ["version"]
[project.optional-dependencies]
perf = [
"orjson",
"fastnumbers",
]
[tool.setuptools]
packages = ["prym"]
[tool.setuptools.dynamic]
version = {attr = "prym.__version__"}
[tool.ruff]
select = ["ALL"]
ignore = [
"TRY003",
"EM101",
"EM102",
"ANN101",
"ANN102",
"ANN202",
"ANN204",
"PD002",
"B905",
"FBT001",
"FBT002",
"D401",
"T201",
"TD",
"FIX002",
"ERA001",
"G004",
]
extend-exclude = ["code"]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.ruff.per-file-ignores]
"tests/**/*.py" = ["S101", "ARG", "FBT", "PLR2004", "S311", "ANN201", "ANN001", "INP001"]