diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2019-04-19 12:17:10 +0200 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-04-19 12:17:10 +0200 |
| commit | 377e82fdf21c74fe497217bfc97f696b36ead233 (patch) | |
| tree | ff554549f443877e799a578ec6586ffc73047c3e | |
| parent | 6f45c7fdad77020eebc3474992c816aea522186e (diff) | |
| download | pylint-git-377e82fdf21c74fe497217bfc97f696b36ead233.tar.gz | |
Rename a function to use only lowercase characters
| -rw-r--r-- | pylint/checkers/stdlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py index 8aac66a06..c57f90e57 100644 --- a/pylint/checkers/stdlib.py +++ b/pylint/checkers/stdlib.py @@ -254,7 +254,7 @@ class StdlibChecker(BaseChecker): if not node.kwargs and not node.keywords and len(node.args) <= 1: self.add_message("bad-thread-instantiation", node=node) - def _check_for_preexec_fn_in_Popen(self, node): + def _check_for_preexec_fn_in_popen(self, node): if node.keywords: for keyword in node.keywords: if keyword.arg == "preexec_fn": @@ -298,7 +298,7 @@ class StdlibChecker(BaseChecker): if inferred.qname() == THREADING_THREAD: self._check_bad_thread_instantiation(node) elif inferred.qname() == SUBPROCESS_POPEN: - self._check_for_preexec_fn_in_Popen(node) + self._check_for_preexec_fn_in_popen(node) elif isinstance(inferred, astroid.FunctionDef): name = inferred.qname() if name == COPY_COPY: |
