mpounsett / nagiosplugin

A Python class library which helps with writing Nagios (Icinga) compatible plugins.
https://nagiosplugin.readthedocs.io/
Other
28 stars 14 forks source link

class Resource should be reimplemented as an actual Abstract Base Class #42

Open mpounsett opened 2 years ago

mpounsett commented 2 years ago

Linting complains about the Resource.probe() signature, and the issue could be resolved by reimplementing this as a proper ABC, using the @abstractmethod decorator on the probe method.