diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-27 16:12:49 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-28 22:48:56 +0200 |
commit | 76ad6ebc7fbb2493243f84059f3d617f6392d46b (patch) | |
tree | b65b5849d80e945ff0f2cf51b123c87763dc0c8c | |
parent | 454b3defc39a90a60ddc81dd1cf40b4360b0028f (diff) | |
download | pylint-git-76ad6ebc7fbb2493243f84059f3d617f6392d46b.tar.gz |
Remove unsued assignment in raw_metrics.py
-rw-r--r-- | pylint/checkers/raw_metrics.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pylint/checkers/raw_metrics.py b/pylint/checkers/raw_metrics.py index 5b00afe1c..da3d24821 100644 --- a/pylint/checkers/raw_metrics.py +++ b/pylint/checkers/raw_metrics.py @@ -87,7 +87,6 @@ JUNK = (tokenize.NL, tokenize.INDENT, tokenize.NEWLINE, tokenize.ENDMARKER) def get_type(tokens, start_index): """return the line type : docstring, comment, code, empty""" i = start_index - tok_type = tokens[i][0] start = tokens[i][2] pos = start line_type = None |