GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
147 stars 28 forks source link

Overload '<' and '>' operators in `LazyUUIDTaskSet` #107

Closed RonMcKay closed 3 years ago

RonMcKay commented 3 years ago

In #96 the request was to overload the '<' and '>' operators in LazyUUIDTaskSet. I did that in this PR by adding the methods isstrictsubset and isstrictsuperset to the class. If I understood the issue correct this was everything that needs to be implemented for that. If I missed something I am happy for a remark.

RonMcKay commented 3 years ago

I added some commits to address the discussion above. In summary the following changed:

All tests are passing for me.

Edit: Sorry for the force push but my IDE seems to have introduced some unwanted changes. Fixed that now.