fix(reuse_worker): remove noqa: BLE001 (rule not in ruff select)
fix(generator): correct service pool count in _SVC_MIN/_SVC_MAX comment BLE001 is not in ruff.toml select (F/ANN/RUF/E/W only); the suppressions were whispering apologies to a linter that wasn't listening. Generator comment now cites the actual ~28-entry non-singleton service pool.
This commit is contained in:
@@ -23,7 +23,9 @@ from decnet.topology.config import (
|
||||
_PlannedLAN,
|
||||
)
|
||||
|
||||
# Range of services per randomly assigned decky (matches decnet.fleet).
|
||||
# Per-decky service count bounds. 1 minimum keeps every decky functional;
|
||||
# 3 maximum balances service diversity against subnet IP utilization — the
|
||||
# full non-singleton service pool (~28 entries) makes higher counts wasteful.
|
||||
_SVC_MIN = 1
|
||||
_SVC_MAX = 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user