Leave reminders in your code. Useful to set a timer on FIXMEs, TODOs & scheduled releases.
If you leave a snooze in ./foo.py
:
lib.broken_logic = my_fixed_logic # snooze: 1900-01-01 FIXME: remove when lib>=0.42 gets released
You can find the expired snoozes using the CLI:
$ snooze
Searching directory "." for snoozes
foo.py:1 - lib.broken_logic = my_fixed_logic # snooze: 1900-01-01 FIXME: remove when lib>=0.42 gets released
- If matches are found, the CLI will return a non 0 exit code so it can be used in builds/precommit-hooks.
- Dates must be represented as ISO 8601.