Removed the property setters and getters from variables with complex
defaults. Instead, they are now given a specific const default value
`Path("%%%%I_DONT_EXIST_%%%%")` which is very unlikely to be used by a user
in normal circumstances.
This is necessary to be able to remove the properties since Python does
not distinguish between an empty Path() and a non-given Path() (i.e.
there is no Path value which returns Falsy).
However, this slightly clunky construct does allow setting the various
Paths once and only once, and also to remove all the previously
necessary getters and setters with their hidden backing variables.
Lastly it should open the gates for changing the _real_path
transformation to be part of the TConf class itself and not a global
function.
1.1 KiB
1.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Fixed
- Default paths are only calculated once, though users can now not use specifically '%%%%I_DONT_EXIST_%%%%' as a path for the taskrc file and task data directory.
[0.2.0] - 2025-04-09
Added
- Place notes into
notessubdirectory of taskwarrior data directory by default - Only annotate tasks for which a note has actually been created
Changed
- Default to same paths as taskwarrior defaults (e.g.
~/.taskrcand~/.task/) - Look for taskrc file both in xdg location and in home directory
Fixed
- Create any necessary parent directories for notes directory.
[0.1.0] - 2025-04-01
Added
- Open task associated note files in specified editor
- Create command line interface for option setting
- Add license
- Take
taskrclocation as cli option - Let user set
editoror grab fromEDITOR/VISUALenv vars