summaryrefslogtreecommitdiff
path: root/pylint/test/functional/unpacking_generalizations.rc
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-09 00:35:34 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-09 00:35:34 +0300
commit86b7ed8432640c34c8bec27bf739056e25507024 (patch)
tree592deb689e17e177ef218d335045714d06ae7768 /pylint/test/functional/unpacking_generalizations.rc
parentbb6863c2aae937fa97f98fa927dd27148f952e40 (diff)
downloadpylint-86b7ed8432640c34c8bec27bf739056e25507024.tar.gz
Add a new error, 'repeated-keyword', when a keyword argument is passed multiple times into a function call.
This is similar with redundant-keyword-arg, but it's mildly different that it needs to be a separate error. This change also uses a CallSite for understanding the arguments that were passed into a function call, since with this we can make sense about multiple starred arguments passed into (PEP 448).
Diffstat (limited to 'pylint/test/functional/unpacking_generalizations.rc')
-rw-r--r--pylint/test/functional/unpacking_generalizations.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/test/functional/unpacking_generalizations.rc b/pylint/test/functional/unpacking_generalizations.rc
new file mode 100644
index 0000000..03004f2
--- /dev/null
+++ b/pylint/test/functional/unpacking_generalizations.rc
@@ -0,0 +1,2 @@
+[testoptions]
+min_pyver=3.5 \ No newline at end of file