Skip to content

Commit

Permalink
Merge pull request #3872 from wtracy/pruning
Browse files Browse the repository at this point in the history
Pruning
Thanks @wtracy
  • Loading branch information
hippo91 authored Oct 3, 2020
2 parents a38c14e + c15d3f0 commit 98d2c06
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion pylint/checkers/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def process_tokens(self, tokens):
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:
Expand Down
6 changes: 0 additions & 6 deletions pylint/constants.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING

import re
import sys

from astroid.__pkginfo__ import version as astroid_version

from pylint.__pkginfo__ import version as pylint_version

# Allow stopping after the first semicolon/hash encountered,
# so that an option can be continued with the reasons
# why it is active or disabled.
OPTION_RGX = re.compile(r"\s*#.*\bpylint:\s*([^;#]+)[;#]{0,1}")

PY_EXTS = (".py", ".pyc", ".pyo", ".pyw", ".so", ".dll")

MSG_STATE_CONFIDENCE = 2
Expand Down

0 comments on commit 98d2c06

Please sign in to comment.