-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (77 loc) · 2.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
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
[project]
authors = [
{name = "zeptofine", email = "[email protected]"},
]
dependencies = [
"ImageHash<5.0.0,>=4.3.1",
"Pillow<11.0.0,>=10.0.1",
"PySide6-Essentials<7.0.0,>=6.5.2",
"ffmpeg-python<1.0.0,>=0.2.0",
"imagesize<2.0.0,>=1.4.1",
"numpy<2.0.0,>=1.26.0",
"opencv-python<5.0.0.0,>=4.8.1.78",
"pathvalidate<4.0.0,>=3.2.0",
"polars<1.0.0,>=0.19.3",
"pyarrow<14.0.0,>=13.0.0",
"python-dateutil<3.0.0,>=2.8.2",
"rich<14.0.0,>=13.5.3",
"typer<1.0.0,>=0.9.0",
"wcmatch<9.0,>=8.5",
]
description = ""
license = {text = "GPL"}
name = "imdataset-creator"
readme = "README.md"
requires-python = ">=3.10,<3.12"
version = "0.1.0"
[project.scripts]
imdataset-creator = "imdataset_creator.__main__:app"
imdataset-creator-gui = "imdataset_creator.gui.__main__:main"
[tool.pdm.build]
includes = ["imdataset_creator"]
[build-system]
build-backend = "pdm.backend"
requires = ["pdm-backend"]
[tool.ruff]
extend-ignore = ["F401", "E501", "B905", "A003", "DTZ006", "DTZ005"]
extend-select = [
"A", # flake8-builtins
"ASYNC", # flake8-async
"UP", # pyupgrade
"I", # isort
"B", # flake8-bugbear
"ICN", # flake8-import-conventions
"F", # pyflakes
"RET", # flake8-return
"SIM", # flake8-simplify
"NPY", # NumPy-specific rules
"PERF", # perflint
"RUF", # Ruff-specific rules
"PIE", # flake8-pie
"DTZ", # flake8-datetimez
"C4", # flake8-comprehensions
"E", # Error
"EXE", # flake8-executable
"TCH", # flake8-type-checking
"W", # pycodestyle
"FA", # flake8-future-annotations
"ISC", # flake8-implicit-str-concat
"Q", # flake8-quotes
"SLF", # flake8-self #Specific pylint rules # "PL", # Pylint
"PLR1711", # useless-return
"PLR1714", # repeated-equality-comparison
]
fixable = ["ALL"]
line-length = 120
target-version = "py311"
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402"]
[tool.isort]
profile = "black"
[tool.pylint]
disable = [
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
]
max-line-length = 120