"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pylint/exceptions.py" between
pylint-2.14.1.tar.gz and pylint-2.14.2.tar.gz

About: pylint analyzes Python source code looking for bugs and signs of poor quality.

exceptions.py  (pylint-2.14.1):exceptions.py  (pylint-2.14.2)
skipping to change at line 23 skipping to change at line 23
class DeletedMessageError(UnknownMessageError): class DeletedMessageError(UnknownMessageError):
"""Raised when a message id or symbol that was deleted from pylint is """Raised when a message id or symbol that was deleted from pylint is
encountered. encountered.
""" """
def __init__(self, msgid_or_symbol: str, removal_explanation: str): def __init__(self, msgid_or_symbol: str, removal_explanation: str):
super().__init__( super().__init__(
f"'{msgid_or_symbol}' was removed from pylint, see {removal_explanat ion}." f"'{msgid_or_symbol}' was removed from pylint, see {removal_explanat ion}."
) )
class MessageBecameExtensionError(UnknownMessageError):
"""Raised when a message id or symbol that was moved to an optional
extension is encountered.
"""
def __init__(self, msgid_or_symbol: str, moved_explanation: str):
super().__init__(
f"'{msgid_or_symbol}' was moved to an optional extension, see {moved
_explanation}."
)
class EmptyReportError(Exception): class EmptyReportError(Exception):
"""Raised when a report is empty and so should not be displayed.""" """Raised when a report is empty and so should not be displayed."""
class InvalidReporterError(Exception): class InvalidReporterError(Exception):
"""Raised when selected reporter is invalid (e.g. not found).""" """Raised when selected reporter is invalid (e.g. not found)."""
class InvalidArgsError(ValueError): class InvalidArgsError(ValueError):
"""Raised when passed arguments are invalid, e.g., have the wrong length.""" """Raised when passed arguments are invalid, e.g., have the wrong length."""
class NoLineSuppliedError(Exception): class NoLineSuppliedError(Exception):
 End of changes. 1 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)