-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (45 loc) · 1.01 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
[project]
name = "hydrus-ocr"
version = "0.2.0"
dependencies = [
"hydrus-api",
"pillow",
"pyocr",
]
requires-python = ">=3.8"
authors = [
{name = "Tomodachi94"},
]
description = "Retrieve files from Hydrus Network and run them through OCR."
readme = "README.md"
license = {file = "LICENSE.md"}
[project.urls]
Documentation = "https://github.com/tomodachi94/hydrus-ocr#readme"
Source = "https://github.com/tomodachi94/hydrus-ocr"
"Bug Tracker" = "https://github.com/tomodachi94/hydrus-ocr/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
main = "hydrus_ocr:mainloop"
[project.optional-dependencies]
dev = [
"pylint",
"mypy",
]
[tool.hatch.build.targets.wheel]
packages = ["hydrus_ocr"]
[tool.hatch.build.targets.sdist]
include = [
"hydrus_ocr/*.py",
"README.md",
]
[tool.mypy]
modules = [
"hydrus_ocr",
]
[tool.pylint.messages_control]
disable = [
# I find that adding the else statement after returns helps with keeping the code readable
"no-else-return",
]