summaryrefslogtreecommitdiff
path: root/doc/data/messages/d/duplicate-value/bad.py
diff options
context:
space:
mode:
authorKonstantina Saketou <56515303+ksaketou@users.noreply.github.com>2022-04-02 09:05:32 +0300
committerGitHub <noreply@github.com>2022-04-02 08:05:32 +0200
commit06bc0a600309f5900ce446aaa4e9dca86faca590 (patch)
tree1de7ba9d5842095fd4fb981fff8f023e120927c9 /doc/data/messages/d/duplicate-value/bad.py
parent79f3e1d437e1bd7642b6819324b7a54e47bbc48c (diff)
downloadpylint-git-06bc0a600309f5900ce446aaa4e9dca86faca590.tar.gz
Add new message called duplicate-value for sets (#5928)
Adds some new functionality which checks for duplicate values inside sets. For that reason, we create a new message called duplicate-value. Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc/data/messages/d/duplicate-value/bad.py')
-rw-r--r--doc/data/messages/d/duplicate-value/bad.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/data/messages/d/duplicate-value/bad.py b/doc/data/messages/d/duplicate-value/bad.py
new file mode 100644
index 000000000..bf6f8ad00
--- /dev/null
+++ b/doc/data/messages/d/duplicate-value/bad.py
@@ -0,0 +1 @@
+incorrect_set = {'value1', 23, 5, 'value1'} # [duplicate-value]