-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (57 loc) · 1.41 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
# -----------------------------------------------------------------------------
# Metadata
[project]
name = "scansort"
description = 'Scansort helps to collate and rename book scan images'
readme = "README.md"
requires-python = ">=3.6"
license = "MIT"
keywords = []
authors = [
{ name = "Max Kuznetsov", email = "[email protected]" },
]
dependencies = [
"PyYAML",
]
dynamic = [
"version"
]
[project.urls]
Documentation = "https://github.com/mkuznets/scansort"
Source = "https://github.com/mkuznets/scansort"
[tool.hatch.version]
path = "scansort/__main__.py"
[project.scripts]
scansort = "scansort.__main__:main"
[project.optional-dependencies]
dev = [
"autoflake==2.1.1",
"hatch==1.7.0",
"black==23.3.0",
"isort==5.12.0",
"ruff==0.0.270",
"mypy==1.3.0",
"types-PyYAML==6.0.12.10"
]
# -----------------------------------------------------------------------------
# Packaging
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
packages = ["src/pydcapi"]
[tool.hatch.build.targets.sdist]
only-include = ["scansort"]
# -----------------------------------------------------------------------------
# Formatting/typing/linting
[tool.black]
line-length = 88
target-version = ['py37']
include = '\.pyi?$'
[tool.isort]
profile = "black"
src_paths = ["scansort"]
[tool.mypy]
python_version = "3.7"
disallow_untyped_defs = true
files = ["scansort"]