-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (48 loc) · 1.17 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (48 loc) · 1.17 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
[project]
name = "PDF-Helper"
version = "0.4.0"
authors = [
{name = "CodeWriter21(Mehrad Pooryoussof)", email = "CodeWriter21@gmail.com"}
]
description = "A simple python script that helps with doing simple stuff with PDFs."
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "MIT", file = "LICENSE"}
requires-python = ">=3.10"
dependencies = [
"log21>=3.3.2",
"pypdfium2>=4.30.0",
"Pillow>=11.0.0",
"pyyaml>=6.0.3",
]
[project.optional-dependencies]
test = ["pytest>=9.1.1"]
[dependency-groups]
dev = [
"pytest>=9.1.1",
]
[project.scripts]
pdf-helper = "pdf_helper:__main__.main"
[build-system]
requires = ["uv_build>=0.8.22,<0.9.0"]
build-backend = "uv_build"
[tool.isort]
line_length = 88
combine_as_imports = true
length_sort = true
order_by_type = true
[tool.docformatter]
recursive = true
wrap-summaries = 88
wrap-descriptions = 88
[tool.ruff]
show-fixes = true
exclude = ["migrations"]
target-version = "py310"
line-length = 88
[tool.ruff.lint]
extend-select = ["C4", "SIM", "TCH", "ANN", "N", "B"]
[tool.ruff.lint.per-file-ignores]
"src/pdf_helper/*" = ["ANN101"]
"tests/*" = ["ANN"]
[tool.pytest.ini_options]
testpaths = ["tests"]