nagiosplugin
nagiosplugin copied to clipboard
Performance class should be a dataclass
The Performance class inherits from namedtuple and then implements additional methods. This seems like a prime candidate for a dataclass. Care should be taken that re-implementing this doesn't break the API.
Reimplementing this will have to wait until support for python 3.6 is dropped.