-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (80 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (80 loc) · 2.04 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
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
86
87
88
89
90
91
92
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "deblotch"
version = "0.1.1"
description = "Edge-preserving color cleanup for flat illustrations and AI-generated graphics."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = [
"computer-vision",
"image-processing",
"opencv",
"raster-graphics",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
]
dependencies = [
"numpy>=1.23.5,<3",
"opencv-python-headless>=4.8,<6",
]
[project.optional-dependencies]
dev = [
"build>=1.2",
"mypy>=1.13",
"pytest>=8.3",
"pytest-cov>=6",
"ruff>=0.8",
"twine>=6",
]
[project.scripts]
deblotch = "deblotch.cli:main"
[project.urls]
Repository = "https://github.com/carlosplanchon/deblotch"
Issues = "https://github.com/carlosplanchon/deblotch/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/deblotch"]
[tool.hatch.build.targets.sdist]
include = [
"/LICENSE",
"/README.md",
"/pyproject.toml",
"/src",
"/tests",
]
[tool.pytest.ini_options]
addopts = "--strict-config --strict-markers -ra"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["deblotch"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["B", "E", "F", "I", "UP"]
[tool.mypy]
# 3.12 is the lowest target numpy 2.x stubs allow (they use PEP 695 syntax);
# the 3.10 runtime floor is exercised by the test matrix instead.
python_version = "3.12"
strict = true
files = ["src/deblotch"]