diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-09-01 07:55:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 07:55:28 +0200 |
commit | ca9eddc137936d1ffe83ec78d051f1b23f7c27b1 (patch) | |
tree | ec1179b8a6033b24eb5acc50d57b2cdff60f83b0 | |
parent | 6cd81934bb9e26cacc3fa5e9165bbaa70066f89b (diff) | |
download | pylint-git-ca9eddc137936d1ffe83ec78d051f1b23f7c27b1.tar.gz |
Remove dead visit_exec method (#4943)
* In Python 3 'exec' is just a 'Call' node
-rw-r--r-- | pylint/checkers/base.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index 12b512fe3..f37752ac9 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -1386,11 +1386,6 @@ class BasicChecker(_BasicChecker): """ self._check_unreachable(node) - @utils.check_messages("exec-used") - def visit_exec(self, node): - """just print a warning on exec statements""" - self.add_message("exec-used", node=node) - def _check_misplaced_format_function(self, call_node): if not isinstance(call_node.func, nodes.Attribute): return |