lint: unnecessary-pass

This commit is contained in:
Benoit Pierre 2021-05-26 19:34:34 +02:00
commit 4b18114dd2

View file

@ -461,27 +461,22 @@ else:
class ProtocolViolationException(Exception): class ProtocolViolationException(Exception):
"""The writer did something unexpected""" """The writer did something unexpected"""
pass
class UnableToPerformRequestException(Exception): class UnableToPerformRequestException(Exception):
"""The writer cannot perform the action requested""" """The writer cannot perform the action requested"""
pass
class FileNotAvailableException(Exception): class FileNotAvailableException(Exception):
"""The writer cannot read from the current file""" """The writer cannot read from the current file"""
pass
class NoRealtimeFileException(Exception): class NoRealtimeFileException(Exception):
"""The realtime file doesn't exist, likely because the user hasn't started writing""" """The realtime file doesn't exist, likely because the user hasn't started writing"""
pass
class FinishedReadingClosedFileException(Exception): class FinishedReadingClosedFileException(Exception):
"""The closed file being read is complete and cannot be read further""" """The closed file being read is complete and cannot be read further"""
pass
class Stenograph(ThreadedStenotypeBase): class Stenograph(ThreadedStenotypeBase):