forked from bennjordan/PlateShapez
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (58 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
65 lines (58 loc) · 1.28 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
[project]
name = "plateshapez"
version = "0.1.0"
description = "Dataset generator for adversarial plate overlay"
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"numpy>=2.2.6",
"opencv-python>=4.12.0.88",
"pillow>=11.3.0",
"pyyaml>=6.0",
"rich>=14.1.0",
"typer>=0.16.1",
"types-pyyaml>=6.0.12.20250822",
]
[tool.uv]
package = true
[project.scripts]
# Run with: uv run dev <command>
dev = "plateshapez.dev:main"
# CLI entry point as specified in project spec
advplate = "plateshapez.__main__:main"
[dependency-groups]
# Install with: uv sync --group dev
dev = [
"ruff>=0.6",
"mypy>=1.10",
"pre-commit>=3.7",
"types-pillow>=10.2.0.20240822",
"pytest>=8.4.1",
]
[tool.ruff]
# Match project Python version
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort (imports)
]
ignore = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.mypy]
python_version = "3.13"
warn_unused_configs = true
check_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
pretty = true
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true