-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (45 loc) · 1001 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
[project]
name = "pdf2txt"
version = "0.1.0"
description = "A quick tool to convert PDF files to text"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pdf2image",
"Pillow",
"pytesseract",
"argcomplete"
]
[project.scripts]
pdf2txt = "src.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.optional-dependencies]
dev = [
"ruff>=0.3.0",
]
[tool.ruff]
line-length = 88
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"N", # pep8-naming
"D", # pydocstring
"T201", # print
]
ignore = ["D203", "D212"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["D104"]
"tests/**/*.py" = ["D100", "D103", "D104"]