Add OrderedSet.of constructor and improve docs
Adds the OrderedSet.of factory method. This is a convenient shorthand for OrderedSet([1,2,3]) while avoiding an extra pair of brackets.
Significantly improve docstrings and readme, although the API documentation is still not published. See PR #4 for ongoing work.
Changes
OrderedSet.sortnow requirekeyandreverseto be keyword arguments. This is consistent with the (new) behavior oflist.sort.- This is (potentially) breaking, but the old behavior was never intended
- Change format of
OrderedSet.__repr__to use the newOrderedSet.offactory method. - Configure
ruffmore agressively, adding lints well beyond the defaults.