no-trailing-numeric-unit-assignment-comment
A trailing comment redundantly labels a numeric assignment with its value and unit.
Why
A unit encoded only in a comment can drift; a unit-bearing name makes it machine- and reviewer-visible, while a duration type can enforce it.
Fix
Encode or reconcile the unit in the assigned name or typed value, such as timeout_ms or timedelta(minutes=5), then delete the duplicate comment.
Examples
STALE_TIME = 5 * 60 * 1000 # 5 minutesfrom datetime import timedelta
STALE_TIME = timedelta(minutes=5)Formerly: trailing-value-narration