next() on a template source did template.format(...) directly, so a placeholder not supplied in next(**fields) leaked a bare KeyError. catch KeyError/IndexError and raise a clear ValueError naming the missing placeholder. verified: next() without a required field -> ValueError naming it; happy path intact. Signed-off-by: disqualifier <dev@disqualifier.me>
17 lines
400 B
TOML
17 lines
400 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aioproxies"
|
|
version = "0.2.1"
|
|
description = "proxy parsing, formatting, health, and pool management for aiohttp/aioweb, camoufox, and socks5"
|
|
requires-python = ">=3.10"
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
net = ["aiohttp>=3.9"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aioproxies"]
|