Add user-friendly way to filter warnings
Blocked by #414 (closed).
Some warnings are useful in some contexts and annoying in others. Python includes warnings.filterwarning
to allow control over display of certain warnings, but needs a warning class specified. End users of Finesse probably don't know what class to specify there. We should introduce a way to allow users to switch off certain classes of warning by name/key/enum, e.g. finesse.filterwarnings("rtl")
or similar.