The output from pylint states:
nltk/nltk/tag/perceptron.py:203: [W1202(logging-format-interpolation), PerceptronTagger.train] Use % formatting in logging functions and pass the % parameters as arguments
But looking at the code https://github.com/nltk/nltk/blob/develop/nltk/tag/perceptron.py#L203, there isn't any usage of %
string formatting:
logging.info("Iter {0}: {1}/{2}={3}".format(iter_, c, n, _pc(c, n)))
Am I missing something or misinterpreting the W1202 message?
How should the code line be change such that the W1202 goes away when pylinting?