Skip to content

Commit

Permalink
refactor: abstractmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
u8slvn committed Jul 21, 2019
1 parent 4ba138f commit bfebca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[report]
exclude_lines = raise NotImplementedError
2 changes: 1 addition & 1 deletion rerwatcher/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class DisplayTypeNotSupportedError(NotImplementedError):
class DisplayDevice(ABC):
@abstractmethod
def print(self, messages):
pass
raise NotImplementedError


class ConsoleDisplay(DisplayDevice):
Expand Down

0 comments on commit bfebca9

Please sign in to comment.