summaryrefslogtreecommitdiff
path: root/pylint/checkers/misc.py
diff options
context:
space:
mode:
authorwtracy <afishionado@gmail.com>2020-10-02 15:50:35 -0700
committerwtracy <afishionado@gmail.com>2020-10-02 15:50:35 -0700
commitb912a164369abc2b95f0c00fa21c79c4485dac56 (patch)
tree864a8010004338861e124a08a54177f28d2966dd /pylint/checkers/misc.py
parent548b38e0508cf58ee9c2fb2e92c0fbb78a1774ef (diff)
downloadpylint-git-b912a164369abc2b95f0c00fa21c79c4485dac56.tar.gz
Converting the strings in the values list to upper case serves no purpose as the list is simply tested with set() and then discarded.
Diffstat (limited to 'pylint/checkers/misc.py')
-rw-r--r--pylint/checkers/misc.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py
index eb76c8c28..509ed9c7b 100644
--- a/pylint/checkers/misc.py
+++ b/pylint/checkers/misc.py
@@ -171,7 +171,6 @@ class EncodingChecker(BaseChecker):
except PragmaParserError:
# Printing useful information dealing with this error is done in the lint package
pass
- values = [_val.upper() for _val in values]
if set(values) & set(self.config.notes):
continue
except ValueError: