summaryrefslogtreecommitdiff
path: root/pylint/checkers/python3.py
diff options
context:
space:
mode:
authorahirnish <ahirnish@gmail.com>2017-09-15 21:15:32 +0530
committerClaudiu Popa <pcmanticore@gmail.com>2017-09-15 17:45:32 +0200
commit3691a25bc5f4c6692508042656e0e936954034e5 (patch)
tree6c245dbe40a86e708e66924468c4d247edb5e508 /pylint/checkers/python3.py
parenta80810644b3533de5c2455f33ec63838bf731f62 (diff)
downloadpylint-git-3691a25bc5f4c6692508042656e0e936954034e5.tar.gz
Adding a warning about keyword argument appearing before variable args list in the function definition (#1636)
Diffstat (limited to 'pylint/checkers/python3.py')
-rw-r--r--pylint/checkers/python3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py
index 2d96f19ad..c6c525fb4 100644
--- a/pylint/checkers/python3.py
+++ b/pylint/checkers/python3.py
@@ -558,6 +558,7 @@ class Python3Checker(checkers.BaseChecker):
self._branch_stack = []
super(Python3Checker, self).__init__(*args, **kwargs)
+ # pylint: disable=keyword-arg-before-vararg
def add_message(self, msg_id, always_warn=False, # pylint: disable=arguments-differ
*args, **kwargs):
if always_warn or not (self._branch_stack and self._branch_stack[-1].is_py2_only):