Please sign in to comment.
coalib/abstractions: Add LinterClass.py
Introduce a virtual base class for linters and use it to improve the check inside `LocalBearTestHelper`. i.e. Instead of checking `hasattr(cls, 'process_output')`, an `isinstance(cls, LinterClass)` is safer and easier to understand. Related to #4594
- Loading branch information...
Showing with 14 additions and 0 deletions.