-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (55 loc) · 1019 Bytes
/
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
[project]
name = "array2image"
version = "0.1.0"
description = "Converts a Numpy array to a PIL image."
authors = [
{name = "Matthieu Thiboust", email = "[email protected]"},
]
dependencies = [
"numpy>=1.26.2",
"pillow>=8.4.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "Apache 2.0"}
[project.urls]
Homepage = "https://github.com/mthiboust/array2image"
[project.optional-dependencies]
dev = [
"pytest>=7.4.3",
"ruff>=0.1.5",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.ruff]
line-length = 88
#extend-include = [
# "*.ipynb",
#]
select = [
"D",
"E",
"F",
"I001",
]
ignore = [
"D206",
"F722",
]
ignore-init-module-imports = true
fixable = [
"I001",
"F401",
]
[tool.ruff.isort]
combine-as-imports = true
lines-after-imports = 2
order-by-type = false
[tool.ruff.pydocstyle]
convention = "google"
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.4.3",
"ruff>=0.1.5",
]