diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-11-23 20:10:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 20:10:29 +0100 |
commit | d58a7c019df0bde1ae5edde35a628b861715c758 (patch) | |
tree | a5479c14dfab21689a8b538f510fdde7ae1ad664 /pylint/checkers/exceptions.py | |
parent | 2c687133e4fcdd73ae3afa2e79be2160b150bb82 (diff) | |
download | pylint-git-d58a7c019df0bde1ae5edde35a628b861715c758.tar.gz |
Fix typo in pylintrc for useless-suppression (#5303)
* Fix typo in pylintrc for useless-suppression
* Fix CI for information messages
* Remove useless disables
* Update CI and docs for 3.8+
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/checkers/exceptions.py')
-rw-r--r-- | pylint/checkers/exceptions.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py index c12657809..b3027d234 100644 --- a/pylint/checkers/exceptions.py +++ b/pylint/checkers/exceptions.py @@ -232,7 +232,6 @@ class ExceptionRaiseLeafVisitor(BaseVisitor): ) def visit_instance(self, instance: objects.ExceptionInstance) -> None: - # pylint: disable=protected-access cls = instance._proxied self.visit_classdef(cls) @@ -535,7 +534,6 @@ class ExceptionsChecker(checkers.BaseChecker): if isinstance(exc, astroid.Instance) and utils.inherit_from_std_ex( exc ): - # pylint: disable=protected-access exc = exc._proxied self._check_catching_non_exception(handler, exc, part) |